|
PoDoFo 0.7.0
|
#include <PdfData.h>
Public Member Functions | |
| PdfData (const char *pszData) | |
| PdfData (const char *pszData, size_t dataSize) | |
| PdfData (const PdfData &rhs) | |
| void | Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt=NULL) const |
| const PdfData & | operator= (const PdfData &rhs) |
| const std::string & | data () const |
A datatype that allows to write abitrary data to a PDF file. The user of this class has to ensure that the data written to the PDF file using this class is valid data for a PDF file!
This class is used in PoDoFo to pad PdfVariants.
| PoDoFo::PdfData::PdfData | ( | const char * | pszData | ) | [inline] |
| PoDoFo::PdfData::PdfData | ( | const char * | pszData, |
| size_t | dataSize | ||
| ) | [inline] |
| PoDoFo::PdfData::PdfData | ( | const PdfData & | rhs | ) | [inline] |
| const std::string & PoDoFo::PdfData::data | ( | ) | const [inline] |
Access the data as a std::string
| void PoDoFo::PdfData::Write | ( | PdfOutputDevice * | pDevice, |
| EPdfWriteMode | eWriteMode, | ||
| const PdfEncrypt * | pEncrypt = NULL |
||
| ) | const [virtual] |
Write the complete datatype to a file.
| pDevice | write the object to this device |
| eWriteMode | additional options for writing this object |
PdfData cannot do any encryption for you. So the encryption object will be ignored as it is also the case for the write mode!
Implements PoDoFo::PdfDataType.
1.7.3