|
PoDoFo 1.1.0
|
A datatype that allows to write arbitrary data to a PDF file. More...
#include <PdfData.h>
Public Member Functions | |
| PdfData (const PdfData &)=default | |
| PdfData (PdfData &&) noexcept=default | |
| PdfData (charbuff &&data, std::shared_ptr< size_t > writeBeacon={ }) | |
| Create a new PdfData object with valid PdfData. | |
| PdfData (const bufferview &data, std::shared_ptr< size_t > writeBeacon={ }) | |
| Create a new PdfData object with valid PdfData. | |
| void | Write (OutputStream &stream, PdfWriteFlags writeMode, const PdfStatefulEncrypt *encrypt, charbuff &buffer) const |
| PdfData & | operator= (const PdfData &rhs)=default |
| PdfData & | operator= (PdfData &&rhs)=default |
| PdfData & | operator= (const bufferview &data) |
| const charbuff & | GetBuffer () const |
| Access the data as a std::string. | |
Public Member Functions inherited from PoDoFo::PdfDataProvider< PdfData > | |
| std::string | ToString (PdfWriteFlags flags=PdfWriteFlags::None) const |
| Converts the current object into a string representation which can be written directly to a PDF file on disc. | |
| void | ToString (std::string &str, PdfWriteFlags flags=PdfWriteFlags::None) const |
A datatype that allows to write arbitrary 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!
| PoDoFo::PdfData::PdfData | ( | const bufferview & | data, |
| std::shared_ptr< size_t > | writeBeacon = { } |
||
| ) |
Access the data as a std::string.