InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TextPanelID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bernd Paradies
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 __TextPanelID__
25 #define __TextPanelID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 // was#define kTextPanelPrefix RezLong(0x2800) /* doublecheck with AdobePrefix.h */
31 #define kTextPanelPrefix RezLong(0xe100) /* doublecheck with AdobePrefix.h */
32 #define kTextPanelPrefix16 RezLong(0x3f00) /* doublecheck with AdobePrefix.h */
33 //#define kTextPanelRecentsPrefix1 RezLong(0xdf00) // TODO: ask for 0xdf and 0xe0 for font menu recent id's
34  // note - we actually reserve prefixes e1 thru ef - so we can expand out of this prefix.
35 #define kTextPanelStringsRsrcID 1000
36 #define kTextPanelStringsNoTransRsrcID 1100
37 
38 #define kCharPathMenuResID 600
39 #define kCharPathActionResID 700
40 
41 #define kTextPanelMenuResID 1200
42 #define kTextPanelActionResID 1300
43 // Flag icons
44 #define kTextPanelFlagsPrefix 500
45 #define kFontMenuType1Icon 501
46 #define kFontMenuTrueTypeIcon 502
47 #define kFontMenuOpenTypeIcon 503
48 #define kFontMenuOCFIcon 504
49 #define kFontMenuCheckedIcon 505
50 #define kFontMenuMultiSelectIcon 506
51 #define kFontMenuTypekitIcon 507
52 #define kFontMenuSVGIcon 508
53 #define kFontMenuOTVarIcon 509
54 #define kFontMenuType1WarningIcon 510
55 // <Start IDC>
56 // PluginID
57 #define kTextPanelPluginName "Text Panel"
58 
59 #define kTextPanelFlagNeutral kTextPanelFlagsPrefix + 0
60 #define kTextPanelFlagUK kTextPanelFlagsPrefix + 1
61 #define kTextPanelFlagCanada kTextPanelFlagsPrefix + 2
62 #define kTextPanelFlagDenmark kTextPanelFlagsPrefix + 3
63 #define kTextPanelFlagNetherlands kTextPanelFlagsPrefix + 4
64 #define kTextPanelFlagSpain kTextPanelFlagsPrefix + 5
65 #define kTextPanelFlagFinnland kTextPanelFlagsPrefix + 6
66 #define kTextPanelFlagBelgium kTextPanelFlagsPrefix + 7
67 #define kTextPanelFlagFrance kTextPanelFlagsPrefix + 8
68 #define kTextPanelFlagGermany kTextPanelFlagsPrefix + 9
69 #define kTextPanelFlagItaly kTextPanelFlagsPrefix + 10
70 #define kTextPanelFlagNorway kTextPanelFlagsPrefix + 11
71 #define kTextPanelFlagSweden kTextPanelFlagsPrefix + 12
72 #define kTextPanelFlagAutralia kTextPanelFlagsPrefix + 13
73 #define kTextPanelFlagUS kTextPanelFlagsPrefix + 14
74 #define kTextPanelFlagSwissGerman kTextPanelFlagsPrefix + 15
75 #define kTextPanelFlagSwissFrench kTextPanelFlagsPrefix + 16
76 
77 
78 // <Class ID>
79 // Bosses
80 
81 
82 
83 
84 // <Interface ID>
85 // IIDs
86 // Use the following if "frequent" (i.e., every arrow-key) updates are needed,
87 // as opposed to less frequent (every run change) given by IID_ITEXTTARGETOBSERVER
88 
89 
90 // <Implementation ID>
91 // Implementations
92 
93 
94 
95 //gap
96 
97 
98 
99 
100 //gap
101 
102 
103 
104 // note - we actually reserve prefixes e1 thru ef - so we can use ids in the range (kTextPanelPrefix +0) to (kTextPanelPrefix + 3839)
105 // <Action ID>
106 #define kFirstSizeActionID kSize6ActionID
107 #define kLastSizeActionID kSize100ActionID
108 //gap
109 
110 // loadable pair kerning fits here -ids here reserved
111 // loadable edge adjustments in here -ids here reserved
112 
113 // DONT USE THE IDS 54-162 they are reserved for missing fonts
114 // DONT USE THE IDS 165-3803 they are reserved for fonts
115 
116 // DONT USE THE IDS 3293-3804; they are reserved for recently used fonts
117 
118 // note - we actually reserve prefixes e1 thru ef - so we can use ids in the range (kTextPanelPrefix +0) to (kTextPanelPrefix + 3839)
119 // Only 3839 is free ActionID still remaining in this range.
120 
121 // DONT USE THE IDS 3808-3838 they are reserved for separators of the fonts
122 // 3839 is still available
123 
124 // DONT USE THE IDS 2-103; they are reserved for document fonts
125 
126 
127 #endif // __TextPanelID__