InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DictEditorID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner:
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 __DictEditorID__
25 #define __DictEditorID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 //---------------------------------------------------------------
31 // DictEditor Prefix
32 //---------------------------------------------------------------
33 
34 // Doublecheck kDictEditorPrefix with AdobePrefix.h, 0x4300 Hex == 17152 Dec
35 #define kDictEditorPrefix RezLong(0x4300)
36 
37 // Converters
38 
39 // Hotaka
40 #define kDictEditorNumberChange kHotakaInitialMinorFormatNumber
41 #define kDictEditorConvertMyDataChange RezLong(58)
42 #define kDictEditorLastHotakaFormatChange kDictEditorConvertMyDataChange
43 
44 
45 // PluginID
46 #define kDictEditorPluginName "Dictionary Editor Dialog"
47 
48 // <Class ID>
49 // Plugin: 0 to 9
50 // gap
51 // gap
52 //gap
53 // Observer: 10 to 39
54 //gap
55 //gap
56 
57 
58 
59 
60 
61 
62 
63 // <Implementation ID>
64 // gap
65 
66 
67 // gap
68 // gap
69 // gap
70 // gap
71 
72 // gap
73 // gap
74 
75 
76 
77 
78 
79 
80 
81 
82 // <Widget ID>
83 //---------------------------------------------------------------
84 // Widget IDs
85 //---------------------------------------------------------------
86 
87 
88 
89 
90 
91 
92 //gap
93 
94 //gap
95 
96 
97 
98 
99 
100 
101 
102 // <Interface ID>
103 
104 
105 // <Message ID>
106  // sent by DictLanguageObserver, changedBy is LanguageID.
107  // received by DictEditorObserver.
108  // sent by DictBreaksObserver, changedBy is bool16.
109  // received by DictHyphListObserver and DictRemovedListObserver.
110  // sent by DictWordEH, changedBy is nil.
111  // received by DictHyphListObserver and DictRemovedListObserver.
112  // sent by DictWordEH, changedBy is nil.
113  // received by DictHyphListObserver and DictRemovedListObserver.
114  // sent by DictWordEH and DictAddObserver, changedBy is nil.
115  // received by DictHyphListObserver and DictRemovedListObserver.
116  // sent by DictRemoveObserver, changedBy is nil.
117  // received by DictHyphListObserver and DictRemovedListObserver.
118  // sent by DictWordEH and DictAddObserver, changedBy is nil.
119  // received by DictHyphListObserver and DictRemovedListObserver.
120  // sent by DictWordEH and DictAddObserver, changedBy is nil.
121  // received by DictHyphListObserver and DictRemovedListObserver.
122  // sent by DictWordObserver after IUserDictService::AddToUserDict(), changedBy is DictWordObserver.
123  // received by DictHyphListObserver and DictRemovedListObserver.
124  // sent by DictHyphVendorObserver on changes.
125  // received by DictSpellVendorObserver.
126  // sent by DictSpellVendorObserver on changes.
127  // received by DictHyphVendorObserver.
128  // sent by DictListBoxEH on DictListBoxEH::LButtonDn().
129  // received by DictWordObserver.
130  // sent by DictListBoxEH on DictListBoxEH::ButtonDblClk().
131  // received by DictWordObserver.
132  // sent by DictWordEH on DictWordEH::GetFocus().
133  // received by DictHyphListObserver.
134  // sent by DictWordEH on DictWordEH::KeyCmd().
135  // received by DictAddObserver.
136  // sent by DictHyphListObserver after add/delete.
137  // received by DictAddObserver.
138  // sent by DictWordEditboxScrapSuite.
139  // received by DictWordObserver.
140 
141 
142  // new for Sherpa
143 
144  // sent by DictTargetListObserver.
145  // received by DictEditorObserver, DictStatTextObserver.
146  // sent by DictSpellVendorObserver on changes.
147  // received by DictHyphVendorObserver.
148  // sent by DictImportObserver on changes.
149  // received by xxx.
150  // sent by DictExportObserver on changes.
151  // received by xxx.
152 
153  // Firedrake
154 
155  //Cobalt
156 
157  // Dict order
158 
159 
160 
161 
162 
163 // <Action ID>
164 //---------------------------------------------------------------
165 // Action IDs
166 //---------------------------------------------------------------
167 
168 
169 //
170 //Script Element IDs
171 //
172 
173 // -- The implementations and resources for these have been moved to the text plugin
174 // -- but the IDs can't change or we assert when testing the high level API.
175 
176 //Suites
177 
178 //Objects
179 
180 //Events
181 
182 //Properties
183 
184 //Enums
185 
186 
187 //GUIDS
188 // {A3736547-4F5C-11d2-AB07-00C04FA349C7}
189 #define kDictPref_CLSID { 0xa3736547, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
190 // {A3736543-4F5C-11d2-AB07-00C04FA349C7}
191 #define kUserDict_CLSID { 0xa3736543, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
192 // {A3736544-4F5C-11d2-AB07-00C04FA349C7}
193 #define kUserDicts_CLSID { 0xa3736544, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
194 // {A3736545-4F5C-11d2-AB07-00C04FA349C7}
195 #define kHyphException_CLSID { 0xa3736545, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
196 // {A3736546-4F5C-11d2-AB07-00C04FA349C7}
197 #define kHyphExceptions_CLSID { 0xa3736546, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
198 
199 
200 //Misc
201 #define kDictOrderNodeIDClass kDictEditorPrefix + 1
202 
203 #endif // __DictEditorID__