Class: Poppler::Annot
- Inherits:
-
Object
- Object
- Poppler::Annot
- Defined in:
- (unknown)
Direct Known Subclasses
Instance Method Summary collapse
-
#annot_type ⇒ Poppler::AnnotType
Gets the type of poppler_annot.
-
#border_width=(width) ⇒ nil
Sets the border width of the annotation.
-
#color ⇒ Poppler::Color
Retrieves the color of poppler_annot.
-
#color=(poppler_color) ⇒ nil
Sets the color of poppler_annot.
-
#contents ⇒ String
Retrieves the contents of poppler_annot.
-
#contents=(contents) ⇒ nil
Sets the contents of poppler_annot to the given value, replacing the current contents.
-
#flags ⇒ Poppler::AnnotFlag
Retrieves the flag field specifying various characteristics of the poppler_annot.
-
#flags=(flags) ⇒ nil
Sets the flag field specifying various characteristics of the poppler_annot.
-
#get_border_width(width) ⇒ Boolean
Returns the border width of the annotation.
-
#get_rectangle(poppler_rect) ⇒ nil
Retrieves the rectangle representing the page coordinates where the annotation poppler_annot is placed.
-
#modified ⇒ String
Retrieves the last modification data of poppler_annot.
-
#name ⇒ String
Retrieves the name of poppler_annot.
-
#page_index ⇒ Integer
Returns the page index to which poppler_annot is associated, or -1 if unknown.
-
#rectangle=(poppler_rect) ⇒ nil
Move the annotation to the rectangle representing the page coordinates where the annotation poppler_annot should be placed.
Instance Method Details
#annot_type ⇒ Poppler::AnnotType
Gets the type of poppler_annot
#border_width=(width) ⇒ nil
Sets the border width of the annotation. Since there is currently no
mechanism in the GLib binding to control the appearance of the border width,
this should generally only be used to disable the border, although the
API might be completed in the future.
#color ⇒ Poppler::Color
Retrieves the color of poppler_annot.
#color=(poppler_color) ⇒ nil
Sets the color of poppler_annot.
#contents ⇒ String
Retrieves the contents of poppler_annot.
#contents=(contents) ⇒ nil
Sets the contents of poppler_annot to the given value,
replacing the current contents.
#flags ⇒ Poppler::AnnotFlag
Retrieves the flag field specifying various characteristics of the
poppler_annot.
#flags=(flags) ⇒ nil
Sets the flag field specifying various characteristics of the
poppler_annot.
#get_border_width(width) ⇒ Boolean
Returns the border width of the annotation. Some PDF editors set a border
width even if the border is not actually drawn.
is defined, otherwise returns false and sets border_width to 0.
#get_rectangle(poppler_rect) ⇒ nil
Retrieves the rectangle representing the page coordinates where the
annotation poppler_annot is placed.
#modified ⇒ String
Retrieves the last modification data of poppler_annot. The returned
string will be either a PDF format date or a text string.
See also #poppler_date_parse()
#name ⇒ String
Retrieves the name of poppler_annot.
#page_index ⇒ Integer
Returns the page index to which poppler_annot is associated, or -1 if unknown
#rectangle=(poppler_rect) ⇒ nil
Move the annotation to the rectangle representing the page coordinates
where the annotation poppler_annot should be placed.