![]() | InDesign SDK 20.5 |
#include <ITextAttrFont.h>

Public Types | |
| enum | { kDefaultIID = IID_ITEXTATTRFONT } |
| typedef bool16 | ValueType |
Public Member Functions | |
| virtual const PMString & | GetFontName () const =0 |
| virtual void | SetFontName (const PMString &ss, bool16 clearMM=kTrue)=0 |
| virtual void | SetMMAxes (int32 num, const Fixed *buffer)=0 |
| virtual int32 | GetNumMMAxes () const =0 |
| virtual const Fixed * | GetMMAxes () const =0 |
| virtual void | SetInheritAxis (bool16 inherit)=0 |
| virtual bool16 | GetInheritAxis () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This is an attribute for the font style.
| pure virtual |
Get the font style name. Also called font face
| pure virtual |
Get Inherit Axis
| pure virtual |
Get multiple master axes
| pure virtual |
Get number multiple master axes
| pure virtual |
Set the font style name. Also called font face
| ss | font style name to set |
| clearMM | if kTrue multiple master style are cleared. |
| pure virtual |
Setting inherit axis info to kTrue means that when applying this attribute the existing axis info in the text runs will be inherited. Make sure that if you call SetInheritAxisInfo with kTrue you do not call SetMMAxes. You cannot inherit and set at the same time.
| inherit |
| pure virtual |
Set multiple master axes. For a general description of multiple master fonts axes see http://partners.adobe.com/asn/tech/type/mmfonts.jsp . If you want to set this you can use the value from either IPMFont::GetNumDesignAxes() and IPMFont AccessDesignVector or FontGroupIteratorCallBack::OnMMAxes
| num | number of axes |
| buffer | buffer with axes |