Ipelib
|
#include <ipepdfparser.h>
Inherits ipe::PdfObj.
Public Member Functions | |
PdfDict () | |
~PdfDict () | |
virtual const PdfDict * | dict () const |
virtual void | write (Stream &stream) const |
void | setStream (const Buffer &stream) |
void | add (String key, const PdfObj *obj) |
const PdfObj * | get (String key, const PdfFile *file) const |
int | count () const |
String | key (int index) const |
Buffer | stream () const |
bool | deflated () const |
![]() | |
virtual | ~PdfObj ()=0 |
virtual const PdfNull * | null () const |
virtual const PdfBool * | boolean () const |
virtual const PdfNumber * | number () const |
virtual const PdfString * | string () const |
virtual const PdfName * | name () const |
virtual const PdfRef * | ref () const |
virtual const PdfArray * | array () const |
String | repr () const |
The PDF dictionary and stream objects.
A dictionary may or may not have attached stream data.
|
inlineexplicit |
PdfDict::~PdfDict | ( | ) |
|
virtual |
Return this object as PDF dictionary object.
Reimplemented from ipe::PdfObj.
|
virtual |
Implements ipe::PdfObj.
References ipe::Stream::putChar(), and ipe::Buffer::size().
void PdfDict::setStream | ( | const Buffer & | stream | ) |
Add stream data to this dictionary.
References stream().
Look up key in dictionary.
Indirect objects (references) are looked up if file is not zero, and the object referred to is returned. Returns 0 if key is not in dictionary.
References ipe::PdfFile::object().
Referenced by ipe::PdfFile::catalog(), ipe::PdfFile::page(), and ipe::Latex::readPdf().
|
inline |
Referenced by ipe::Latex::readPdf().
|
inline |
Referenced by add(), and ipe::Latex::readPdf().
|
inline |
Referenced by setStream().
bool PdfDict::deflated | ( | ) | const |
Is this stream compressed with flate compression?
References ipe::PdfObj::name(), and ipe::PdfName::value().