Functions¶
|
|
|
|
|
|
|
|
|
|
|
Details¶
- Poppler.date_parse(date, timet)¶
- Parameters:
- Returns:
True
, if timet was set- Return type:
Parses a PDF format date string and converts it to a #time_t. Returns
False
if the parsing fails or the input string is not a valid PDF format date stringNew in version 0.12.
- Poppler.get_backend()¶
- Returns:
The backend used by poppler
- Return type:
Returns the backend compiled into the poppler library.
- Poppler.get_version()¶
- Returns:
the version of poppler.
- Return type:
Returns the version of poppler in use. This result is not to be freed.
- Poppler.named_dest_from_bytestring(data)¶
-
Converts a bytestring into a zero-terminated string suitable to pass to
Poppler.Document.find_dest
().Note that the returned string has no defined encoding and is not suitable for display to the user.
The returned data must be freed using
GLib.free
().New in version 0.73.
- Poppler.named_dest_to_bytestring(name)¶
-
Converts a named dest string (e.g. from Poppler.Dest.named_dest) into a bytestring, inverting the transformation of
Poppler.named_dest_from_bytestring
().Note that the returned data is not zero terminated and may also contains embedded NUL bytes.
If name is not a valid named dest string, returns
None
.The returned data must be freed using
GLib.free
().New in version 0.73.