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_available_signing_certificates()¶
- Returns:
all available signing certificate information
- Return type:
Get all available signing certificate information
- Poppler.get_backend()¶
- Returns:
The backend used by poppler
- Return type:
Returns the backend compiled into the poppler library.
- Poppler.get_certificate_info_by_id(id)¶
- Parameters:
id (
str
) –- Returns:
a
Poppler.CertificateInfo
orNone
if not found- Return type:
Get certificate by nick name
- Poppler.get_nss_dir()¶
- Returns:
nss directroy.
- Return type:
Get NSS directory
New in version 23.07.0.
- 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.
- Poppler.set_nss_password_callback(func)¶
- Parameters:
func (
Poppler.NssPasswordFunc
) – aPoppler.NssPasswordFunc
that represents a signature annotation
A callback which asks for certificate password
New in version 23.07.0.