|
Model Railroad System 2.2.2
|
Type 1 Font dictionary. More...
#include <PDFPrinterSupport.h>
Public Member Functions | |
| Type1FontDictionary (const string basefont, int firstchar, int lastchar, IndirectFloatVector *widths_, TypedDictionary *fontdescriptor, const string encoding="", unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
| Constructor. More... | |
| Type1FontDictionary (const string basefont, int firstchar, int lastchar, IndirectFloatVector *widths_, TypedDictionary *fontdescriptor, TypedDictionary *encoding, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
| Constructor. More... | |
| ~Type1FontDictionary () | |
| Destructor. More... | |
Public Member Functions inherited from FCFSupport::PDFFileStructures::FontDictionary | |
| 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 | |
| virtual ostream & | WriteDictionaryElements (ostream &stream) const |
| Write an object directly. More... | |
Protected Member Functions inherited from FCFSupport::PDFFileStructures::FontDictionary | |
| 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 | baseFont |
| Base font name. More... | |
| int | firstChar |
| First character in widths array;. More... | |
| int | lastChar |
| Last character in widths array. More... | |
| IndirectFloatVector * | widths |
| Widths array. More... | |
| TypedDictionary * | fontDescriptor |
| Font Descriptor. More... | |
| string | encodingName |
| Encoding as a name. More... | |
| TypedDictionary * | encodingDictionary |
| Encoding as a dictionary. More... | |
Type 1 Font dictionary.
|
inline |
Constructor.
Build a Type 1 font.
| basefont | Name of the base font. |
| firstchar | The first character code. |
| lastchar | The last character code. |
| widths_ | The widths of the characters. |
| fontdescriptor | The font description. |
| encoding | The encoding of the font. |
| objNum | The next object number. |
| genNum | The generation number. |
| tab | The cross reference table we are in. |
References baseFont, encodingDictionary, encodingName, firstChar, fontDescriptor, lastChar, and widths.
|
inline |
Constructor.
Build a Type 1 font.
| basefont | Name of the base font. |
| firstchar | The first character code. |
| lastchar | The last character code. |
| widths_ | The widths of the characters. |
| fontdescriptor | The font description. |
| encoding | The encoding of the font. |
| objNum | The next object number. |
| genNum | The generation number. |
| tab | The cross reference table we are in. |
References baseFont, encodingDictionary, encodingName, firstChar, fontDescriptor, lastChar, and widths.
|
inline |
Destructor.
|
protectedvirtual |
Write an object directly.
| stream | The output stream to write to. |
Reimplemented from FCFSupport::PDFFileStructures::FontDictionary.
|
private |
Base font name.
Referenced by Type1FontDictionary().
|
private |
Encoding as a dictionary.
Referenced by Type1FontDictionary().
|
private |
Encoding as a name.
Referenced by Type1FontDictionary().
|
private |
First character in widths array;.
Referenced by Type1FontDictionary().
|
private |
Font Descriptor.
Referenced by Type1FontDictionary().
|
private |
Last character in widths array.
Referenced by Type1FontDictionary().
|
private |
Widths array.
Referenced by Type1FontDictionary().