InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextAttrFigureStyle.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Eric Menninga
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __ITextAttrFigure__
25 #define __ITextAttrFigure__
26 
27 #include "IPMUnknown.h"
28 #include "ICompositionStyle.h"
29 #include "TextAttrID.h"
30 
31 
40 {
41  public:
42  enum { kDefaultIID = IID_ITEXTATTRFIGURESTYLE };
43 
46  typedef enum {
49  kFigure_LiningTabular = 0, // consistent width, "tall" figures.
52  kFigure_OldstyleProp = 1, // proportional width, "lowercase" figures.
55  kFigure_LiningProp = 2, // proportional width "tall" figures.
58  kFigure_OldstyleTabular = 3, // consistent width "lowercase" figures.
61  kFigure_Default = 4 // use whatever the font says is the default.
62  } FigureStyle;
63 
67 
71  virtual ValueType Get() const = 0;
75  virtual void Set(ValueType val) = 0;
76 };
77 
78 #endif
79