Poppler.AnnotMarkup¶
- Subclasses:
 Poppler.AnnotCircle,Poppler.AnnotFileAttachment,Poppler.AnnotFreeText,Poppler.AnnotLine,Poppler.AnnotSquare,Poppler.AnnotStamp,Poppler.AnnotText,Poppler.AnnotTextMarkup
Methods¶
- Inherited:
 - Structs:
 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Class Details¶
- class Poppler.AnnotMarkup(**kwargs)¶
 - Bases:
 - Abstract:
 No
- get_date()¶
 - Returns:
 a
GLib.Daterepresenting the date and time when the annotation was created, orNone- Return type:
 
Returns the date and time when the annotation was created
- get_external_data()¶
 - Returns:
 Poppler.AnnotExternalDataTypeof self.- Return type:
 
Gets the external data type of self.
- get_opacity()¶
 - Returns:
 the opacity value of self, between 0 (transparent) and 1 (opaque)
- Return type:
 
Retrieves the opacity value of self.
- get_popup_is_open()¶
 - 
Retrieves the state of the popup window related to self.
 
- get_popup_rectangle()¶
 - Returns:
 TrueifPoppler.Rectanglewas correctly filled,Falseotherwise- poppler_rect:
 a
Poppler.Rectangleto store the popup rectangle
- Return type:
 (
bool, poppler_rect:Poppler.Rectangle)
Retrieves the rectangle of the popup window related to self.
New in version 0.12.
- get_reply_to()¶
 - Returns:
 Poppler.AnnotMarkupReplyTypeof self.- Return type:
 
Gets the reply type of self.
- get_subject()¶
 - Returns:
 the subject text of self.
- Return type:
 
Retrives the subject text of self.
- has_popup()¶
 - 
Return
Trueif the markup annotation has a popup window associatedNew in version 0.12.
 
- set_label(label)¶
 - 
Sets the label text of self, replacing the current one
New in version 0.16.
 
- set_opacity(opacity)¶
 - Parameters:
 opacity (
float) – a constant opacity value, between 0 (transparent) and 1 (opaque)
Sets the opacity of self. This value applies to all visible elements of self in its closed state, but not to the pop-up window that appears when it’s openened
New in version 0.16.
- set_popup(popup_rect)¶
 - Parameters:
 popup_rect (
Poppler.Rectangle) – aPoppler.Rectangle
Associates a new popup window for editing contents of self. Popup window shall be displayed by viewers at popup_rect on the page.
New in version 0.16.
- set_popup_is_open(is_open)¶
 - Parameters:
 is_open (
bool) – whether popup window should initially be displayed open
Sets the state of the popup window related to self.
New in version 0.16.
- set_popup_rectangle(poppler_rect)¶
 - Parameters:
 poppler_rect (
Poppler.Rectangle) – aPoppler.Rectangleto set
Sets the rectangle of the popup window related to self. This doesn’t have any effect if self doesn’t have a popup associated, use
Poppler.AnnotMarkup.set_popup() to associate a popup window to aPoppler.AnnotMarkup.New in version 0.33.