Mako 9.1.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
IDOMType3Font Class Referenceabstract

Representation of a PostScript/PDF Type 3 Font. At present, the stream cannot be set, only retrieved. More...

#include <edl/idomfont.h>

Inheritance diagram for IDOMType3Font:
[legend]

Classes

class  Data
 Initialization data. More...

Public Member Functions

virtual DOMid getId () const =0
 Retrieves the unique ID of this font. This ID is allocated on creation. Clones of this font will receive a new id.
virtual bool hasGlyph (const EDLSysString &glyphName) const =0
 Determines if the font already has a glyph with the given name.
virtual IDOMGlyphPtr getGlyph (const EDLSysString &glyphName) const =0
 Retrieves a glyph of the given name. An exception with code EDL_ERR_TYPE3_GLYPH_NOT_FOUND will be thrown if no such glyph is present.
virtual bool hasGlyph (uint32 codePoint) const =0
 Determines if the font already has a glyph with the given unicode codepoint.
virtual IDOMGlyphPtr getGlyph (uint32 codePoint) const =0
 Retrieves a glyph of the given unicode codepoint, if it exists. An exception with code EDL_ERR_TYPE3_GLYPH_NOT_FOUND will be thrown if no such glyph is present.
virtual bool hasGlyph (IDOMGlyph::GlyphID glyphID) const =0
 Determines if the font already has a glyph with the given glyph ID.
virtual IDOMGlyphPtr getGlyph (IDOMGlyph::GlyphID glyphID) const =0
 Retrieves a glyph of the given GlyphID, if it exists. An exception with code EDL_ERR_TYPE3_GLYPH_NOT_FOUND will be thrown if no such glyph is present.
virtual CDOMGlyphVect getGlyphs () const =0
 Obtain a vector of all of the glyphs present in this font.
virtual void deleteGlyphs ()=0
 Delete the glyph collection from the font.
virtual void addGlyph (const IDOMGlyphPtr &glyph)=0
 Adds a glyph of the given name to the font.
virtual FRect getBBox ()=0
 Returns font's bounding box.
virtual JawsMako::IPDFDictionaryPtr getFontDictionary () const =0
 Fetch the font dictionary. Do not edit the returned dictionary.
Public Member Functions inherited from IDOMFont
virtual eFontType getFontType () const =0
 Gets the font type. See eFontType for more information on font types.
virtual IDOMFontSourcePtr getFontSource () const =0
 Get the font source of this font.
virtual void setFontSource (const IDOMFontSourcePtr &fontSource)=0
 Sets the font source for this font.
virtual IInputStreamPtr getFontBaseStream () const =0
 Return the base stream for this font, obtaining it from the font source.
virtual void getCharacterMap (CCharacterMap &characterMap, uint32 fontIndex=0U)=0
 Get the character map for this font.
Public Member Functions inherited from IDOMFontSource
virtual eFontSourceType getFontSourceType () const =0
 Gets the font source type.
virtual const EDLSysString & determineUri () const =0
 Determines the URI based on the font source (underlying font sources may be searched)
Public Member Functions inherited from IEDLObject
virtual const CClassID & getClassID () const =0
 Returns class ID of IEDLObject.
virtual bool init (CClassParams *pData)
 The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject.
Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to.
Public Member Functions inherited from IDOMHashable
virtual ~IDOMHashable ()
 Virtual destructor.
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object.
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails.

Static Public Member Functions

static const CClassID & classID ()
 Retrieves class id of IDOM.
Static Public Member Functions inherited from IDOMFont
static const CClassID & classID ()
 Retrieves class id of IDOMFont.
Static Public Member Functions inherited from IDOMFontSource
static const CClassID & classID ()
 Retrieves the class id of IDOMFontSource.

Additional Inherited Members

Public Types inherited from IDOMFont
enum  eFontType {
  eFontTypeUnknown , eFontTypeOpenType , eFontType3 , eFontTypePCLXL ,
  eFontTypePCL5
}
 type used to uniquely identify the type of font More...
typedef uint32 CharCode
 type used to uniquely identify a character code
typedef std::map< CharCode, IDOMGlyph::GlyphID > CCharacterMap
 Map type used for storing character code to glyph ID mappings.
Public Types inherited from IDOMFontSource
enum  eFontSourceType { eFontSourceTypeNone , eFontSourceTypeStreamFilter , eFontSourceTypeStream , eFontSourceTypeFont }
 type used to uniquely identify the source type of a font More...
Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.

Detailed Description

Representation of a PostScript/PDF Type 3 Font. At present, the stream cannot be set, only retrieved.


The documentation for this class was generated from the following file: