Poppler.AnnotTextMarkup¶
- Subclasses:
None
Methods¶
- Inherited:
Poppler.AnnotMarkup (14), Poppler.Annot (12), GObject.Object (37)
- Structs:
class |
|
class |
|
class |
|
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Poppler.AnnotTextMarkup(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod new_highlight(doc, rect, quadrilaterals)¶
- Parameters:
doc (
Poppler.Document
) – aPoppler.Document
rect (
Poppler.Rectangle
) – aPoppler.Rectangle
quadrilaterals ([
Poppler.Quadrilateral
]) – AGLib.Array
ofPoppler.Quadrilateral
s
- Returns:
A newly created
Poppler.AnnotTextMarkup
annotation- Return type:
Creates a new Highlight Text annotation that will be located on rect when added to a page. See
Poppler.Page.add_annot
()New in version 0.26.
- classmethod new_squiggly(doc, rect, quadrilaterals)¶
- Parameters:
doc (
Poppler.Document
) – aPoppler.Document
rect (
Poppler.Rectangle
) – aPoppler.Rectangle
quadrilaterals ([
Poppler.Quadrilateral
]) – AGLib.Array
ofPoppler.Quadrilateral
s
- Returns:
A newly created
Poppler.AnnotTextMarkup
annotation- Return type:
Creates a new Squiggly Text annotation that will be located on rect when added to a page. See
Poppler.Page.add_annot
()New in version 0.26.
- classmethod new_strikeout(doc, rect, quadrilaterals)¶
- Parameters:
doc (
Poppler.Document
) – aPoppler.Document
rect (
Poppler.Rectangle
) – aPoppler.Rectangle
quadrilaterals ([
Poppler.Quadrilateral
]) – AGLib.Array
ofPoppler.Quadrilateral
s
- Returns:
A newly created
Poppler.AnnotTextMarkup
annotation- Return type:
Creates a new Strike Out Text annotation that will be located on rect when added to a page. See
Poppler.Page.add_annot
()New in version 0.26.
- classmethod new_underline(doc, rect, quadrilaterals)¶
- Parameters:
doc (
Poppler.Document
) – aPoppler.Document
rect (
Poppler.Rectangle
) – aPoppler.Rectangle
quadrilaterals ([
Poppler.Quadrilateral
]) – AGLib.Array
ofPoppler.Quadrilateral
s
- Returns:
A newly created
Poppler.AnnotTextMarkup
annotation- Return type:
Creates a new Underline Text annotation that will be located on rect when added to a page. See
Poppler.Page.add_annot
()New in version 0.26.
- get_quadrilaterals()¶
- Returns:
- Return type:
Returns a
GLib.Array
ofPoppler.Quadrilateral
items that map from a location on page to aPoppler.AnnotTextMarkup
. This array must be freed when done.New in version 0.26.
- set_quadrilaterals(quadrilaterals)¶
- Parameters:
quadrilaterals ([
Poppler.Quadrilateral
]) – AGLib.Array
ofPoppler.Quadrilateral
s
Set the regions (Quadrilaterals) to apply the text markup in self.
New in version 0.26.