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

Public Types | |
| enum | { kDefaultIID = IID_ITEXTATTRFIGURESTYLE } |
| enum | FigureStyle { kFigure_LiningTabular = 0, kFigure_OldstyleProp = 1, kFigure_LiningProp = 2, kFigure_OldstyleTabular = 3, kFigure_Default = 4 } |
| typedef ITextAttrFigureStyle::FigureStyle | ValueType |
Public Member Functions | |
| virtual ValueType | Get () const =0 |
| virtual void | Set (ValueType val)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
ITextAttrFigureStyle is a simple data interface that is used to hold the desired figure style: oldstyle vs. lining, tabular vs. proportional, or the default as specified in the font. Which glyphs are affected by this is font dependent, but we only support OpenType fonts, and they usually provide the 10 figures (0 - 9) plus sometimes some punctuation (e.g. %$).
FigureStyle enumeration type
Enumeration of text attribute figure styles
| pure virtual |
Get the value.
| pure virtual |
Set the value.
| val | is the desired figure style |