Poppler Qt5 25.12.90
Poppler::PDFConverter::NewSignatureData Class Reference

#include <poppler-qt5.h>

Public Member Functions

QColor backgroundColor () const
QColor borderColor () const
double borderWidth () const
QRectF boundingRectangle () const
QString certNickname () const
QByteArray documentOwnerPassword () const
QByteArray documentUserPassword () const
QString fieldPartialName () const
QColor fontColor () const
double fontSize () const
QString imagePath () const
double leftFontSize () const
QString location () const
 NewSignatureData (const NewSignatureData &)=delete
NewSignatureData & operator= (const NewSignatureData &)=delete
int page () const
QString password () const
QString reason () const
void setBackgroundColor (const QColor &color)
void setBorderColor (const QColor &color)
void setBorderWidth (double width)
void setBoundingRectangle (const QRectF &rect)
void setCertNickname (const QString &certNickname)
void setDocumentOwnerPassword (const QByteArray &password)
void setDocumentUserPassword (const QByteArray &password)
void setFieldPartialName (const QString &name)
void setFontColor (const QColor &color)
void setFontSize (double fontSize)
void setImagePath (const QString &path)
void setLeftFontSize (double fontSize)
void setLocation (const QString &location)
void setPage (int page)
void setPassword (const QString &password)
void setReason (const QString &reason)
void setSignatureLeftText (const QString &text)
void setSignatureText (const QString &text)
QString signatureLeftText () const
QString signatureText () const

Detailed Description

Holds data for a new signature.

  • Common Name of cert to sign (aka nickname)
  • password for the cert
  • page where to add the signature
  • rect for the signature annotation
  • text that will be shown inside the rect
  • font size and color
  • border width and color
  • background color
    Since
    21.01

Member Function Documentation

◆ borderWidth()

double Poppler::PDFConverter::NewSignatureData::borderWidth ( ) const

border width in points

Default: 1.5

Since
21.05

◆ documentOwnerPassword()

QByteArray Poppler::PDFConverter::NewSignatureData::documentOwnerPassword ( ) const

Document owner password (needed if the document that is being signed is password protected).

Default: no password

Since
22.02

◆ documentUserPassword()

QByteArray Poppler::PDFConverter::NewSignatureData::documentUserPassword ( ) const

Document user password (needed if the document that is being signed is password protected).

Default: no password

Since
22.02

◆ imagePath()

QString Poppler::PDFConverter::NewSignatureData::imagePath ( ) const

Filesystem path to an image file to be used as background image for the signature annotation widget.

Default: empty

Since
22.02

◆ leftFontSize()

double Poppler::PDFConverter::NewSignatureData::leftFontSize ( ) const

Default: 20.

Since
21.06

References fontSize().

◆ location()

QString Poppler::PDFConverter::NewSignatureData::location ( ) const

Signature's property Location.

Default: an empty string.

Since
21.10

References location().

Referenced by location().

◆ reason()

QString Poppler::PDFConverter::NewSignatureData::reason ( ) const

Signature's property Reason.

Default: an empty string.

Since
21.10

References reason().

Referenced by reason().

◆ signatureLeftText()

QString Poppler::PDFConverter::NewSignatureData::signatureLeftText ( ) const

If this text is not empty, the signature representation will split in two, with this text on the left and signatureText on the right.

Since
21.06

The documentation for this class was generated from the following file: