PoDoFo
1.0.0-dev
|
A PDF stream can be appended to any PdfObject and can contain arbitrary data. More...
#include <PdfMemoryObjectStream.h>
Inherits PoDoFo::PdfObjectStreamProvider.
Public Member Functions | |
void | Init (PdfObject &obj) override |
void | Clear () override |
bool | TryCopyFrom (const PdfObjectStreamProvider &rhs) override |
bool | TryMoveFrom (PdfObjectStreamProvider &&rhs) override |
std::unique_ptr< InputStream > | GetInputStream (PdfObject &obj) override |
std::unique_ptr< OutputStream > | GetOutputStream (PdfObject &obj) override |
void | Write (OutputStream &stream, const PdfStatefulEncrypt *encrypt) override |
size_t | GetLength () const override |
const charbuff & | GetBuffer () const |
Friends | |
class | PdfObject |
class | PdfIndirectObjectList |
A PDF stream can be appended to any PdfObject and can contain arbitrary data.
A PDF memory stream is held completely in memory.
Most of the time it will contain either drawing commands to draw onto a page or binary data like a font or an image.
A PdfMemoryObjectStream is implicitly shared and can therefore be copied very quickly.