EvinceDocument.DocumentInfo

Fields

Name

Type

Access

Description

author

str

r/w

contains_js

EvinceDocument.DocumentContainsJS

r/w

creation_date

int

r/w

creator

str

r/w

fields_mask

int

r/w

format

str

r/w

keywords

str

r/w

layout

EvinceDocument.DocumentLayout

r/w

license

EvinceDocument.DocumentLicense

r/w

linearized

str

r/w

mode

EvinceDocument.DocumentMode

r/w

modified_date

int

r/w

n_pages

int

r/w

paper_height

float

r/w

paper_width

float

r/w

permissions

int

r/w

producer

str

r/w

security

str

r/w

subject

str

r/w

title

str

r/w

ui_hints

int

r/w

Methods

class

new ()

copy ()

free ()

get_created_datetime ()

get_modified_datetime ()

set_from_xmp (xmp, size)

take_created_datetime (datetime)

take_modified_datetime (datetime)

Details

class EvinceDocument.DocumentInfo
classmethod new()
Returns:

a new, empty EvinceDocument.DocumentInfo

Return type:

EvinceDocument.DocumentInfo

copy()
Returns:

a copy of self

Return type:

EvinceDocument.DocumentInfo

free()

Frees self.

get_created_datetime()
Returns:

a GLib.DateTime for when the document was created

Return type:

GLib.DateTime or None

get_modified_datetime()
Returns:

a GLib.DateTime for when the document was last modified

Return type:

GLib.DateTime or None

set_from_xmp(xmp, size)
Parameters:
  • xmp (str) –

  • size (int) –

Return type:

bool

take_created_datetime(datetime)
Parameters:

datetime (GLib.DateTime) –

take_modified_datetime(datetime)
Parameters:

datetime (GLib.DateTime) –