Poppler.AnnotTextMarkup¶
- Subclasses:
None
Methods¶
- Inherited:
Poppler.AnnotMarkup (14), Poppler.Annot (14), 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.Documentrect (
Poppler.Rectangle) – aPoppler.Rectanglequadrilaterals ([
Poppler.Quadrilateral]) – AGLib.ArrayofPoppler.Quadrilaterals
- Returns:
A newly created
Poppler.AnnotTextMarkupannotation- 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.Documentrect (
Poppler.Rectangle) – aPoppler.Rectanglequadrilaterals ([
Poppler.Quadrilateral]) – AGLib.ArrayofPoppler.Quadrilaterals
- Returns:
A newly created
Poppler.AnnotTextMarkupannotation- 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.Documentrect (
Poppler.Rectangle) – aPoppler.Rectanglequadrilaterals ([
Poppler.Quadrilateral]) – AGLib.ArrayofPoppler.Quadrilaterals
- Returns:
A newly created
Poppler.AnnotTextMarkupannotation- 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.Documentrect (
Poppler.Rectangle) – aPoppler.Rectanglequadrilaterals ([
Poppler.Quadrilateral]) – AGLib.ArrayofPoppler.Quadrilaterals
- Returns:
A newly created
Poppler.AnnotTextMarkupannotation- 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.ArrayofPoppler.Quadrilateralitems 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.ArrayofPoppler.Quadrilaterals
Set the regions (Quadrilaterals) to apply the text markup in self.
New in version 0.26.