Poppler.AnnotTextMarkup

g GObject.Object GObject.Object Poppler.Annot Poppler.Annot GObject.Object->Poppler.Annot Poppler.AnnotMarkup Poppler.AnnotMarkup Poppler.Annot->Poppler.AnnotMarkup Poppler.AnnotTextMarkup Poppler.AnnotTextMarkup Poppler.AnnotMarkup->Poppler.AnnotTextMarkup

Subclasses:

None

Methods

Inherited:

Poppler.AnnotMarkup (14), Poppler.Annot (12), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_highlight (doc, rect, quadrilaterals)

class

new_squiggly (doc, rect, quadrilaterals)

class

new_strikeout (doc, rect, quadrilaterals)

class

new_underline (doc, rect, quadrilaterals)

get_quadrilaterals ()

set_quadrilaterals (quadrilaterals)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Poppler.AnnotTextMarkup(**kwargs)
Bases:

Poppler.AnnotMarkup

Abstract:

No

classmethod new_highlight(doc, rect, quadrilaterals)
Parameters:
Returns:

A newly created Poppler.AnnotTextMarkup annotation

Return type:

Poppler.Annot

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:
Returns:

A newly created Poppler.AnnotTextMarkup annotation

Return type:

Poppler.Annot

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:
Returns:

A newly created Poppler.AnnotTextMarkup annotation

Return type:

Poppler.Annot

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:
Returns:

A newly created Poppler.AnnotTextMarkup annotation

Return type:

Poppler.Annot

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:

A GLib.Array of Poppler.Quadrilateral

Return type:

[Poppler.Quadrilateral]

Returns a GLib.Array of Poppler.Quadrilateral items that map from a location on page to a Poppler.AnnotTextMarkup. This array must be freed when done.

New in version 0.26.

set_quadrilaterals(quadrilaterals)
Parameters:

quadrilaterals ([Poppler.Quadrilateral]) – A GLib.Array of Poppler.Quadrilateral s

Set the regions (Quadrilaterals) to apply the text markup in self.

New in version 0.26.