|
PoDoFo
0.9.6
|
#include <PdfSignOutputDevice.h>
Public Member Functions | |
| virtual void | SetSignatureSize (size_t lSignatureSize) |
| virtual size_t | GetSignatureSize () const |
| virtual const PdfData * | GetSignatureBeacon () const |
| virtual PdfArray | AdjustByteRange () |
| virtual size_t | ReadForSignature (char *pBuffer, size_t lLen) |
| virtual void | SetSignature (const PdfData &sigData) |
| virtual size_t | GetLength () const |
| virtual void | Print (const char *pszFormat,...) |
| virtual void | Write (const char *pBuffer, size_t lLen) |
| virtual size_t | Read (char *pBuffer, size_t lLen) |
| virtual void | Seek (size_t offset) |
| virtual size_t | Tell () const |
| virtual void | Flush () |
Public Member Functions inherited from PoDoFo::PdfOutputDevice | |
| PdfOutputDevice () | |
| PdfOutputDevice (const char *pszFilename, bool bTruncate=true) | |
| PdfOutputDevice (char *pBuffer, size_t lLen) | |
| PdfOutputDevice (const std::ostream *pOutStream) | |
| PdfOutputDevice (PdfRefCountedBuffer *pOutBuffer) | |
| PdfOutputDevice (std::iostream *pStream) | |
| virtual | ~PdfOutputDevice () |
| virtual void | PrintV (const char *pszFormat, long lBytes, va_list argptr) |
| long | PrintVLen (const char *pszFormat, va_list args) |
Signer class
Class is used to locate place for signature in the stream. Usage:
|
virtual |
Modify ByteRange entry according to signature position
|
inlinevirtual |
Flush the output files buffer to disk if this devices operates on a disk.
Reimplemented from PoDoFo::PdfOutputDevice.
|
inlinevirtual |
The number of bytes written to this object.
Reimplemented from PoDoFo::PdfOutputDevice.
|
inlinevirtual |
Return signature beacon
|
virtual |
Get expected size of signature.
If reserved size if zero no signatures will be added.
|
inlinevirtual |
Write to the PdfOutputDevice. Usage is as the usage of printf.
WARNING: Do not use this for doubles or floating point values as the output might depend on the current locale.
| pszFormat | a format string as you would use it with printf |
Reimplemented from PoDoFo::PdfOutputDevice.
|
inlinevirtual |
Read data from the device
| pBuffer | a pointer to the data buffer |
| lLen | length of the output buffer |
Reimplemented from PoDoFo::PdfOutputDevice.
|
virtual |
Read data for signature
|
inlinevirtual |
Seek the device to the position offset from the beginning
| offset | from the beginning of the file |
Reimplemented from PoDoFo::PdfOutputDevice.
|
virtual |
Embed real signature in the PDF
|
virtual |
Set string to lookup for
| lSignatureSize | Total space reserved for signature |
|
inlinevirtual |
Get the current offset from the beginning of the file.
Reimplemented from PoDoFo::PdfOutputDevice.
|
virtual |
Write data to the buffer. Use this call instead of Print if you want to write binary data to the PdfOutputDevice.
| pBuffer | a pointer to the data buffer |
| lLen | write lLen bytes of pBuffer to the PdfOutputDevice |
Reimplemented from PoDoFo::PdfOutputDevice.