InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITypeContextualControlsPrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Reena Agrawal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: All information contained herein is, and remains
20 // the property of Adobe Systems Incorporated and its suppliers,
21 // if any. The intellectual and technical concepts contained
22 // herein are proprietary to Adobe Systems Incorporated and its
23 // suppliers and may be covered by U.S. and Foreign Patents,
24 // patents in process, and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __ITypeContextualControlsPrefs_h__
32 #define __ITypeContextualControlsPrefs_h__
33 
34 #include "IPMUnknown.h"
35 #include "TextEditorID.h"
36 
43 {
44 public:
46  enum { kDefaultIID = IID_ITYPECONTEXTUALCONTROLSPREFS };
47 
52  virtual void SetShowUIForOTFeature(bool16 showUIForOTFeature) = 0;
53 
58  virtual void SetShowUIForAdornment(bool16 showUIForAdornment) = 0;
59 
60 
61 // virtual void SetShowUIForHighLight(bool16 showUIForFractions) = 0;
62 
63  /*
64  Get whether the context UI for OpenTypeFeature{Character Alternates, Fractions, Ordinals and Ligatures} should be shown
65  @return Whether to show context UI for OpenTypeFeature{Character Alternates, Fractions, Ordinals and Ligatures}.
66  */
67  virtual bool16 GetShowUIForOTFeature() const = 0;
68 
69 
70 
71  /*
72  Get whether the adoprnment should be shown
73  @return Whether to show context UI for alternates
74  */
75  virtual bool16 GetShowUIForAdornment() const = 0;
76 
77 // virtual bool16 GetShowUIForHighLight() const = 0;
78 };
79 
80 #endif // __ITypeContextualControlsPrefs_h__