PoDoFo
0.9.1
|
#include <PdfSignatureField.h>
Inherits PoDoFo::PdfField.
Public Member Functions | |
PdfSignatureField (PdfPage *pPage, const PdfRect &rRect, PdfDocument *pDoc) | |
void | SetSignature (const PdfData &signatureData) |
void | SetSignatureReason (const PdfString &rsText) |
void | SetSignatureDate (const PdfDate &sigDate) |
![]() | |
PdfField (PdfObject *pObject, PdfAnnotation *pWidget) | |
PdfField (const PdfField &rhs) | |
PdfPage * | GetPage () const |
void | SetHighlightingMode (EPdfHighlightingMode eMode) |
EPdfHighlightingMode | GetHighlightingMode () const |
void | SetBorderColorTransparent () |
void | SetBorderColor (double dGray) |
void | SetBorderColor (double dRed, double dGreen, double dBlue) |
void | SetBorderColor (double dCyan, double dMagenta, double dYellow, double dBlack) |
void | SetBackgroundColorTransparent () |
void | SetBackgroundColor (double dGray) |
void | SetBackgroundColor (double dRed, double dGreen, double dBlue) |
void | SetBackgroundColor (double dCyan, double dMagenta, double dYellow, double dBlack) |
void | SetFieldName (const PdfString &rsName) |
PdfString | GetFieldName () const |
void | SetAlternateName (const PdfString &rsName) |
PdfString | GetAlternateName () const |
void | SetMappingName (const PdfString &rsName) |
PdfString | GetMappingName () const |
void | SetReadOnly (bool bReadOnly) |
bool | IsReadOnly () const |
void | SetRequired (bool bRequired) |
bool | IsRequired () const |
void | SetExport (bool bExport) |
bool | IsExport () const |
EPdfField | GetType () const |
Additional Inherited Members | |
![]() | |
PdfField (EPdfField eField, PdfAnnotation *pWidget, PdfAcroForm *pParent) | |
void | SetFieldFlag (long lValue, bool bSet) |
bool | GetFieldFlag (long lValue, bool bDefault) const |
PdfObject * | GetAppearanceCharacteristics (bool bCreate) const |
Signature field
PoDoFo::PdfSignatureField::PdfSignatureField | ( | PdfPage * | pPage, |
const PdfRect & | rRect, | ||
PdfDocument * | pDoc | ||
) |
Create a new PdfSignatureField
void PoDoFo::PdfSignatureField::SetSignature | ( | const PdfData & | signatureData | ) |
Create space for signature
signatureData | String used to locate reserved space for signature. This string will be replaiced with signature. |
Structure of the PDF file - before signing: <</ByteRange[ 0 1234567890 1234567890 1234567890]/Contents<signatureData> Have to be replaiced with the following structure: <</ByteRange[ 0 count pos count]/Contents<real signature ...0-padding>
void PoDoFo::PdfSignatureField::SetSignatureDate | ( | const PdfDate & | sigDate | ) |
Date of signature
void PoDoFo::PdfSignatureField::SetSignatureReason | ( | const PdfString & | rsText | ) |
Set reason of the signature
rsText | the reason of signature |