Poppler.TextAttributes

Fields

Name

Type

Access

Description

color

Poppler.Color

r/w

a Poppler.Color, the foreground color

end_index

int

r/w

end position this text attributes apply

font_name

str

r/w

font name

font_size

float

r/w

font size

is_underlined

bool

r/w

if text is underlined

start_index

int

r/w

start position this text attributes apply

Methods

class

new ()

copy ()

free ()

Details

class Poppler.TextAttributes

A Poppler.TextAttributes is used to describe text attributes of a range of text

New in version 0.18.

classmethod new()
Returns:

a new Poppler.TextAttributes, use Poppler.TextAttributes.free() to free it

Return type:

Poppler.TextAttributes

Creates a new Poppler.TextAttributes

New in version 0.18.

copy()
Returns:

a new allocated copy of self

Return type:

Poppler.TextAttributes

Creates a copy of self

New in version 0.18.

free()

Frees the given Poppler.TextAttributes

New in version 0.18.