Ipelib
|
#include <ipepdfparser.h>
Inherits ipe::PdfObj.
Public Member Functions | |
PdfArray () | |
~PdfArray () | |
virtual const PdfArray * | array () const noexcept |
virtual void | write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept |
void | append (const PdfObj *) |
int | count () const noexcept |
const PdfObj * | obj (int index, const PdfFile *file) const noexcept |
Public Member Functions inherited from ipe::PdfObj | |
virtual | ~PdfObj ()=0 |
virtual const PdfNull * | null () const noexcept |
virtual const PdfBool * | boolean () const noexcept |
virtual const PdfNumber * | number () const noexcept |
virtual const PdfString * | string () const noexcept |
virtual const PdfName * | name () const noexcept |
virtual const PdfRef * | ref () const noexcept |
virtual const PdfDict * | dict () const noexcept |
String | repr () const noexcept |
The PDF array object.
|
inlineexplicit |
PdfArray::~PdfArray | ( | ) |
|
virtualnoexcept |
Return this object as PDF array object.
Reimplemented from ipe::PdfObj.
|
virtualnoexcept |
Implements ipe::PdfObj.
void PdfArray::append | ( | const PdfObj * | obj | ) |
|
inlinenoexcept |
Referenced by ipe::PdfDict::deflated().
Return object with index in array.
Indirect objects (references) are looked up if file is not nullptr, and the object referred to is returned (nullptr if it does not exist). Object remains owned by array.
References ipe::PdfObj::ref(), and ipe::PdfRef::value().
Referenced by append(), ipe::PdfDict::deflated(), ipe::Face::Face(), ipe::PdfDict::getNumberArray(), and ipe::Latex::readPdf().