Model Railroad System 2.2.2
|
A tree of page label dictionaries. More...
#include <PDFPrinterSupport.h>
Public Member Functions | |
PageLabelTree (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
Constructor. More... | |
~PageLabelTree () | |
Destructor. More... | |
void | AddPageLabelTree (PageLabelTree *node) |
Add a page label tree node. More... | |
void | AddPageLabelDictionary (int number, PageLabelDictionary *pld) |
Add a page label dictionary. More... | |
int | Size () const |
Return the number of sub-nodes in this page label tree. More... | |
![]() | |
Dictionary (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
Constructor. More... | |
virtual | ~Dictionary () |
Destructor. More... | |
virtual ostream & | WriteDirect (ostream &stream) const |
Write an object directly. More... | |
![]() | |
IndirectObject (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
Constructor. More... | |
virtual | ~IndirectObject () |
Destructor. More... | |
ostream & | WriteObjectToFile (ostream &stream) |
Write an object indirectly. More... | |
ostream & | WriteIndirectReference (ostream &stream) const |
Write an object indirectly. More... | |
virtual ostream & | WriteDirect (ostream &stream) const =0 |
Write an object directly. More... | |
unsigned long int | ObjectNumber () const |
Return this object's object number. More... | |
unsigned short int | GenerationNumber () const |
Return this object's generation number. More... | |
streampos | FileOffset () const |
Return this object's file offset. More... | |
bool | HasOffset () const |
Does the object have a file offset? More... | |
Protected Member Functions | |
virtual ostream & | WriteDictionaryElements (ostream &stream) const |
Write an object directly. More... | |
virtual ostream & | WriteDictionaryElements (ostream &stream) const |
Write the elements of a dictionary. More... | |
Private Member Functions | |
void | GetKidLimits (int &lower, int &upper) const |
Get limits of the kids vector. More... | |
Private Attributes | |
bool | isRoot |
Root flag. More... | |
PageLabelTreeKidVector | kids |
Kid nodes. More... | |
PageLabelDictionaryNumMap | nums |
Num nodes. More... | |
A tree of page label dictionaries.
|
inline |
Constructor.
Create a new page label tree.
objNum | The next object number. |
genNum | The generation number. |
tab | The cross reference table we are in. |
References isRoot.
|
inline |
Destructor.
|
inline |
Add a page label dictionary.
number | The page label dictionary start page number. |
pld | Page label dictionary pointer. |
References nums.
Referenced by FCFSupport::PDFFileStructures::CatalogDictionary::AddPageLabelDictionary().
|
inline |
Add a page label tree node.
node | The page label tree node. |
Referenced by FCFSupport::PDFFileStructures::CatalogDictionary::AddPageLabelTree().
|
private |
Get limits of the kids vector.
lower | Lower end. |
upper | Upper end. |
|
inline |
|
protectedvirtual |
Write an object directly.
stream | The output stream to write to. |
Reimplemented from FCFSupport::PDFFileStructures::Dictionary.
|
private |
Root flag.
Referenced by AddPageLabelTree(), and PageLabelTree().
|
private |
Kid nodes.
Referenced by AddPageLabelTree(), and Size().
|
private |
Num nodes.
Referenced by AddPageLabelDictionary(), and Size().