Poppler.SigningData¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Poppler.SigningData¶
- classmethod new()¶
- Returns:
a new
Poppler.SigningData
. It must be freed withPoppler.SigningData.free
() when done.- Return type:
Creates a new
Poppler.SigningData
with default content.New in version 23.07.0.
- copy()¶
- Returns:
a new
Poppler.SigningData
structure identical to self- Return type:
Copies self, creating an identical
Poppler.SigningData
.New in version 23.07.0.
- free()¶
Frees self
New in version 23.07.0.
- get_background_color()¶
- Returns:
- Return type:
Get signature background color.
New in version 23.07.0.
- get_border_color()¶
- Returns:
- Return type:
Get signature border color.
New in version 23.07.0.
- get_border_width()¶
- Returns:
border width
- Return type:
Get signature border width.
New in version 23.07.0.
- get_certificate_info()¶
- Returns:
- Return type:
Get certification information.
New in version 23.07.0.
- get_destination_filename()¶
- Returns:
destination filename
- Return type:
Get destination file name.
New in version 23.07.0.
- get_document_owner_password()¶
- Returns:
document owner password (for encrypted files)
- Return type:
Get document owner password.
New in version 23.07.0.
- get_document_user_password()¶
- Returns:
document user password (for encrypted files)
- Return type:
Get document user password.
New in version 23.07.0.
- get_field_partial_name()¶
- Returns:
field partial name
- Return type:
Get field partial name.
New in version 23.07.0.
- get_font_color()¶
- Returns:
- Return type:
Get signature font color.
New in version 23.07.0.
- get_font_size()¶
- Returns:
font size
- Return type:
Get signature font size.
New in version 23.07.0.
- get_left_font_size()¶
- Returns:
left font size
- Return type:
Get signature left font size.
New in version 23.07.0.
- get_password()¶
- Returns:
password
- Return type:
Get signing key password.
New in version 23.07.0.
- get_signature_rectangle()¶
- Returns:
- Return type:
Get signature rectangle.
New in version 23.07.0.
- get_signature_text()¶
- Returns:
signature text
- Return type:
Get signature text.
New in version 23.07.0.
- get_signature_text_left()¶
- Returns:
signature text left
- Return type:
Get signature text left.
New in version 23.07.0.
- set_background_color(background_color)¶
- Parameters:
background_color (
Poppler.Color
) – aPoppler.Color
to be used for signature background
Set signature background color.
New in version 23.07.0.
- set_border_color(border_color)¶
- Parameters:
border_color (
Poppler.Color
) – aPoppler.Color
to be used for signature border
Set signature border color.
New in version 23.07.0.
- set_border_width(border_width)¶
- Parameters:
border_width (
float
) – border width
Set signature border width.
New in version 23.07.0.
- set_certificate_info(certificate_info)¶
- Parameters:
certificate_info (
Poppler.CertificateInfo
) – aPoppler.CertificateInfo
Set certification information.
New in version 23.07.0.
- set_destination_filename(filename)¶
- Parameters:
filename (
str
) – destination filename
Set destination file name.
New in version 23.07.0.
- set_document_owner_password(document_owner_password)¶
- Parameters:
document_owner_password (
str
) – document owner password
Set document owner password (for encrypted files).
New in version 23.07.0.
- set_document_user_password(document_user_password)¶
- Parameters:
document_user_password (
str
) – document user password
Set document user password (for encrypted files).
New in version 23.07.0.
- set_field_partial_name(field_partial_name)¶
- Parameters:
field_partial_name (
str
) – a field partial name
Set field partial name (existing field id or a new one) where signature is placed.
New in version 23.07.0.
- set_font_color(font_color)¶
- Parameters:
font_color (
Poppler.Color
) – aPoppler.Color
to be used as signature font color
Set signature font color.
New in version 23.07.0.
- set_font_size(font_size)¶
- Parameters:
font_size (
float
) – signature font size
Set signature font size (>0).
New in version 23.07.0.
- set_image_path(image_path)¶
- Parameters:
image_path (
str
) – signature image path
Set signature background (watermark) image path.
New in version 23.07.0.
- set_left_font_size(font_size)¶
- Parameters:
font_size (
float
) – signature font size
Set signature left font size (> 0).
New in version 23.07.0.
- set_location(location)¶
- Parameters:
location (
str
) – a location
Set signature location (e.g. “At my desk”).
New in version 23.07.0.
- set_password(password)¶
- Parameters:
password (
str
) – a password
Set password for the signing key.
New in version 23.07.0.
- set_reason(reason)¶
- Parameters:
reason (
str
) – a reason
Set reason for signature (e.g. I’m approver).
New in version 23.07.0.
- set_signature_rectangle(signature_rect)¶
- Parameters:
signature_rect (
Poppler.Rectangle
) – aPoppler.Rectangle
where signature should be shown
Set signature rectangle.
New in version 23.07.0.