DWFToolkit::DWFFontResource Class Reference
[DWF Package API]

#include "dwf/package/FontResource.h"

Collaboration diagram for DWFToolkit::DWFFontResource:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class represents an embedded font.

Since:
7.0.1
Embedded fonts are encrypted data derived from TrueType font tables. They are published, when licensing permits, to deliver the original font to a viewer's system for optimal visualization.

Definition at line 46 of file FontResource.h.

Public Types

enum  tePrivilege
 Privileges controlling the font usage.
enum  teCharacterCode
 Describes the font data.

Public Member Functions

_DWFTK_API DWFFontResource (DWFPackageReader *pPackageReader) throw ()
_DWFTK_API DWFFontResource (int nRequest, tePrivilege ePrivilege, teCharacterCode eCharacterCode, const DWFString &zCanonicalName, const DWFString &zLogfontName) throw ()
virtual _DWFTK_API ~DWFFontResource () throw ()
_DWFTK_API int request () const throw ()
_DWFTK_API tePrivilege privilege () const throw ()
_DWFTK_API teCharacterCode characterCode () const throw ()
_DWFTK_API const DWFStringlogfontName () const throw ()
_DWFTK_API const DWFStringcanonicalName () const throw ()
virtual _DWFTK_API void parseAttributeList (const char **ppAttributeList) throw ( DWFException )
_DWFTK_API void serializeXML (DWFXMLSerializer &rSerializer, unsigned int nFlags) throw ( DWFException )


Constructor & Destructor Documentation

_DWFTK_API DWFToolkit::DWFFontResource::DWFFontResource DWFPackageReader pPackageReader  )  throw ()
 

Constructor

This constructor is generally only used by the parsing process when the DWFPackageReader associated with (and providing read access to) the DWF package file is available. The subsequent binding makes it possible to read resource content data from the DWF package.

Parameters:
pPackageReader Provides access to resource content in the DWF package.
Exceptions:
None 

_DWFTK_API DWFToolkit::DWFFontResource::DWFFontResource int  nRequest,
tePrivilege  ePrivilege,
teCharacterCode  eCharacterCode,
const DWFString zCanonicalName,
const DWFString zLogfontName
throw ()
 

Constructor

This constructor is generally only used by the parsing process when the DWFPackageReader associated with (and providing read access to) the DWF package file is available. The subsequent binding makes it possible to read resource content data from the DWF package.

Parameters:
nRequest ???
ePrivilege An enumeration describing the font license.
eCharacterCode An enumeration descibring the font data.
zCanonicalName The descriptive name of the font.
zLogfontName Legacy name of the font.
Exceptions:
None 

virtual _DWFTK_API DWFToolkit::DWFFontResource::~DWFFontResource  )  throw () [virtual]
 

Destructor

Exceptions:
None 


Member Function Documentation

_DWFTK_API const DWFString& DWFToolkit::DWFFontResource::canonicalName  )  const throw () [inline]
 

Returns the descriptive font name.

Returns:
The descriptive font name.
Exceptions:
None 

Definition at line 183 of file FontResource.h.

_DWFTK_API teCharacterCode DWFToolkit::DWFFontResource::characterCode  )  const throw () [inline]
 

Returns the font character code.

Returns:
An enumeration indicating the type of data in the font.
Exceptions:
None 

Definition at line 157 of file FontResource.h.

_DWFTK_API const DWFString& DWFToolkit::DWFFontResource::logfontName  )  const throw () [inline]
 

Returns the legacy font name.

Returns:
The legacy font name.
Exceptions:
None 

Definition at line 170 of file FontResource.h.

virtual _DWFTK_API void DWFToolkit::DWFFontResource::parseAttributeList const char **  ppAttributeList  )  throw ( DWFException ) [virtual]
 

_DWFTK_API tePrivilege DWFToolkit::DWFFontResource::privilege  )  const throw () [inline]
 

Returns the licensing privilege.

Returns:
An enumeration indicating the privilege.
Exceptions:
None 

Definition at line 144 of file FontResource.h.

_DWFTK_API int DWFToolkit::DWFFontResource::request  )  const throw () [inline]
 

Returns the font request.

Returns:
An integer code indicating the request.
Exceptions:
None 

Definition at line 131 of file FontResource.h.

_DWFTK_API void DWFToolkit::DWFFontResource::serializeXML DWFXMLSerializer rSerializer,
unsigned int  nFlags
throw ( DWFException )
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:29 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5