Ipelib
|
The PDF dictionary and stream objects. More...
#include <ipepdfparser.h>
Inherits ipe::PdfObj.
The PDF dictionary and stream objects.
A dictionary may or may not have attached stream data.
ipe::PdfDict::PdfDict | ( | ) | [inline, explicit] |
PdfDict::~PdfDict | ( | ) |
const PdfDict * PdfDict::dict | ( | ) | const [virtual] |
Return this object as PDF dictionary object.
Reimplemented from ipe::PdfObj.
void PdfDict::write | ( | Stream & | stream | ) | const [virtual] |
Implements ipe::PdfObj.
void PdfDict::setStream | ( | const Buffer & | stream | ) |
Add stream data to this dictionary.
Add a (key, value) pair to the dictionary.
Dictionary takes ownership of obj.
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.
int ipe::PdfDict::count | ( | ) | const [inline] |
String ipe::PdfDict::key | ( | int | index | ) | const [inline] |
Buffer ipe::PdfDict::stream | ( | ) | const [inline] |
bool PdfDict::deflated | ( | ) | const |
Is this stream compressed with flate compression?