InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CInterfaceFontInfo Class Reference

#include <CInterfaceFontInfo.h>

Inheritance diagram for CInterfaceFontInfo:
InterfaceFontInfoInterfaceFontInfo

Public Member Functions

 CInterfaceFontInfo ()
 
 CInterfaceFontInfo (const PMString &fontName)
 
 CInterfaceFontInfo (const CInterfaceFontInfo &other)
 
 ~CInterfaceFontInfo ()
 
CInterfaceFontInfooperator= (const CInterfaceFontInfo &other)
 
const PMStringGetFontName () const
 
IPMFontGetFont () const
 

Protected Attributes

PMString fFontName
 
IPMFontfFont
 

Detailed Description

Base class for platform specific implementation of UI font structure.

See Also
IUIFontSpec for the interface which allows widgets to override their default UI font.
IInterfaceFonts for the main interface to get InterfaceFontInfo from an interface font IDs
InterfaceFontInfo for the platform specific implementations of this structure
DrawStringUtils.h for the main routines that use InterfaceFontInfo

Constructor & Destructor Documentation

CInterfaceFontInfo::CInterfaceFontInfo ()

Constructor

CInterfaceFontInfo::CInterfaceFontInfo (const PMStringfontName)

Constructor from font name

CInterfaceFontInfo::CInterfaceFontInfo (const CInterfaceFontInfoother)

Copy Constructor

CInterfaceFontInfo::~CInterfaceFontInfo ()

Destructor

Member Function Documentation

IPMFont* CInterfaceFontInfo::GetFont () const

Get the InDesign font from this UI font

const PMString& CInterfaceFontInfo::GetFontName () const

Get the name of the font for this UI font structure

CInterfaceFontInfo& CInterfaceFontInfo::operator= (const CInterfaceFontInfoother)

Assignment