|
Model Railroad System 2.2.2
|
A Font dictionary object. More...
#include <PDFPrinterSupport.h>
Public Member Functions | |
| FontDictionary (const string subtype, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
| Constructor. More... | |
| ~FontDictionary () | |
| Destructor. More... | |
Public Member Functions inherited from FCFSupport::PDFFileStructures::TypedDictionary | |
| TypedDictionary (string t, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
| Constructor. More... | |
| ~TypedDictionary () | |
| Destructor. More... | |
Public Member Functions inherited from FCFSupport::PDFFileStructures::Dictionary | |
| 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... | |
Public Member Functions inherited from FCFSupport::PDFFileStructures::IndirectObject | |
| 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 | |
| ostream & | WriteFontType (ostream &stream) const |
| Write the font's subtype. More... | |
| virtual ostream & | WriteDictionaryElements (ostream &stream) const |
| Write this dictionary's elements. More... | |
Protected Member Functions inherited from FCFSupport::PDFFileStructures::TypedDictionary | |
| ostream & | WriteDictionaryType (ostream &stream) const |
| Write the dictionary's type. More... | |
| virtual ostream & | WriteDictionaryElements (ostream &stream) const |
| Write this dictionary's elements. More... | |
| virtual ostream & | WriteDictionaryElements (ostream &stream) const |
| Write the elements of a dictionary. More... | |
Private Attributes | |
| string | subType |
| The type of the font. More... | |
A Font dictionary object.
|
inline |
Constructor.
Create a generic font dictionary.
| subtype | The type of the font. |
| objNum | The next object number. |
| genNum | The generation number. |
| tab | The cross reference table we are in. |
References subType.
|
inline |
Destructor.
|
inlineprotectedvirtual |
Write this dictionary's elements.
Start with its type.
| stream | The output stream to write to. |
Reimplemented from FCFSupport::PDFFileStructures::TypedDictionary.
Reimplemented in FCFSupport::PDFFileStructures::Type1FontDictionary.
References lcc::stream, FCFSupport::PDFFileStructures::TypedDictionary::WriteDictionaryType(), and WriteFontType().
|
inlineprotected |
Write the font's subtype.
| stream | The output stream to write to. |
References lcc::stream, and subType.
Referenced by WriteDictionaryElements().
|
private |
The type of the font.
Referenced by FontDictionary(), and WriteFontType().