InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
widgetid.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Robin_Briggs
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 // Contains IDs used by widgets
24 //
25 //========================================================================================
26 
27 #ifndef __WidgetID__
28 #define __WidgetID__
29 
30 #include "CrossPlatformTypes.h"
31 #include "IDFactory.h"
32 
33 // <Start IDC>
34 #define kWidgetPrefix RezLong(0x600)
35 // second is consecutive so no entry
36 #define kWidgetPrefix3 RezLong(0x20E00)
37 //note: widgetbin uses 3 prefixes! They are 0x600 and 0x700. normally
38 // id files would stop at 255, but the second one just spills over into the next prefix.
39 // An adjacent space was not available for the third so numbering starts over with kWidgetPrefix3
40 
41 
42 // PlugInIDs (GlobalPrefsDialog uses WidgetBin prefix)
43 #define kGlobalPrefsDialogPluginName "Global Preferences Panel"
44 
45 #define kWidgetsPluginName "Widgets"
46 
47 // <Class ID>
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
58 #endif
59 
60 
61 // ---- Moved from Graphic Styles plug-in
62 // ---- end move.
63 
64 
65 
66 //gap
67 //gap
68 // Slider Widgets
69 
70 //gap
71 
72 
73 //gap
74 // NOTE: For kClassIDSpace additions, you can go up to kWidgetPrefix + 355
75 // because there are two prefixes for Widgets. Part of the second Widget prefix is already used for MessageIDs below.
76 
77 //========================================================================================
78 // <Message ID>
79 // ----- Message IDs -----
80 // Messages sent by various Data Objects
81 // -- these are ClassIDs but have no classes!
82 // -- they are only used for sending messages
83 //========================================================================================
84 
85  // Messages sent by CounterControlData
86 
87  // Messages sent by CBooleanControlData
88 
89  // Messages sent by CounterControlData
90 
91  // Messages sent by listboxes control data
92 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
93 #endif
94  // MeSssages sent by CPanelControlData
95 
96  // Messages sent by CIntegerControlData
97 
98  // Messages sent by CRealNumberControlData
99 
100  // Messages sent by CTextControlData
101 
102  // Messages sent by PopupControlData
103 
104  // Messages sent by NudgeButton
105 
106  // Messages sent out by widgets when their geometry changes. Children
107  // are notified of changes in their parent's size by the ParentResized
108  // method.
109 
110  // Messages sent by StrokeFillWidget
111 // I used kWidgetPrefix + 329 up above in the listbox messages
112 
113  // Messages sent by uidlistcontroldata
114 
115 
116  // Messages sent by ListBox
117 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
118 #endif
119 
120  // Messages sent by PopupSlider
121 
122  // Messages sent by Editbox
123 
124  // Messages sent by TreeView
125  // Messages sent by InLineEdit
126 
127 
128 
129 
130 
131 
132 // Messages sent by IID_ISTYLEGROUPLISTCONTROLDATA
133 
134 // Messages sent by IID_IPANORAMA
135 
136  // Messages sent by SplitterPanelControlData
137 
138  // Additional Messages sent by Editbox
139 
140 
141 
142 
143 
144 // NOTE for additions to kMessageIDSpace: We are now in our second prefix (0x0700)! Hence the >255 offset. You can go up to 255*2 = 510
145 
146 
147 // <Interface ID>
148 //========================================================================================
149 // ----- Interface IDs -----
150 //========================================================================================
151 
152 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
153 #endif
154 
155 
156 
157 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
158 #endif
159 
160 
161 // IID_ILISTBOXCONTROLLER(& listboxes generally) will disappear from a future version of InDesign. Please use TreeViews instead.
162 
163 
164 
165 
166 
167 
168 
169 
170 
171 // Table Stroke Selection Widget
172 
173 
174 
175 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
176 #endif
177 
178 
179 // End of the road, need another prefix.
180 
181 // <Implementation ID>
182 //========================================================================================
183 // ----- Implementation IDs -----
184 //========================================================================================
185 
186 
187 
188 
189 //gap
190 
191 // ----- Grids -----
192 
193 
194 // ----- List boxes -----
195 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
196 //gap
197 //gap
198 //gap
199 #endif
200 
201 //gap
202 
203 
204 
205 
206 
207 // gap
208 
209 
210 #ifdef ID_DEPRECATED // listboxes will disappear from a future version of InDesign. Please use TreeViews instead.
211 #endif
212 
213 //gap
214 
215 //gap
216 
217 
218 //gap
219 
220 // gap
221 
222 //gap
223 
224 
225 //gap
226 //gap
227 
228 //gap
229 
230 //gap
231 
232 
233 //gap
234 
235 
236 
237 
238 
239 
240 
241 
242 
243 
244  /* NOTE NOTE NOTE NOTE NOTE */
245  /* WidgetBin uses 2 adjacent prefixes(0x06 and 0x07) */
246  /* kWidgetPrefix is 0x06, so kWidgetPrefix + 256 == 0x07 */
247  /* so from here down, these Impl IDs are in another prefix. */
248  /* normally you would need to get another id, and start over */
249  /* at kFooPrefix +1, but since widgetbin has 2 adjacent prefixes */
250  /* we have chosen to do it this way. */
251 
252 // 261
253 
254 
255 
256 //gap
257 
258 
259 
260 
261 
262 //gap
263 //gap
264 
265 //gap
266 //gap
267 
268 //gap
269 
270 
271 //gap
272 //gap
273 //gap
274 //gap
275 
276 // Table Stroke SelectionWidget
277 //gap
278 
279 
280 //gap
281 
282 // gap
283 //gap
284 //gap
285 //gap
286 //gap
287 
288 
289 
290 // ---- Moved from Graphic Styles plug-in
291 //gap
292 // ---- end move.
293 
294 // ---- Moved from Utilities plug-in
295 
296 //gap
297 
298 //gap
299 
300 
301  /* NOTE NOTE NOTE NOTE NOTE */
302  /* WidgetBin uses 2 adjacent prefixes(0x06 and 0x07) */
303  /* kWidgetPrefix is 0x06, so kWidgetPrefix + 256 == 0x07 */
304  /* If you need more implementation IDs than kWidgetPrefix + 511, */
305  /* you'll need to start over with another prefix */
306 
307 // Start of third prefix. First two are adjacent but there was no adjacent space available in AdobePrefix for a third. Therefore
308 // the third one starts numbering again.
309 
310 
311 //gap
312 //gap
313 
314 
315 
316 
317 // Properties Panel Implementation ID Space.
318 
319 
320 //Leaving prefixes till 90 for Properties Panel
321 
322 
323 
324 
325 // <Service ID>
326 //========================================================================================
327 // ----- Service IDs -----
328 //========================================================================================
329 
330 
331 // Properties Panel Service ID Space 32 onwards.
332 
333 // <Widget ID>
334 //========================================================================================
335 // ----- Widget IDs -----
336 //========================================================================================
337  // use kSelectableDialogMenuSeparatorWidgetID in a orderable panel ID list to make a menu
338  // separator in the selectable dialog panel popup.
339 
340 
341 
342 
343 
344 
345 
346 
347 
348 
349 // Define some generic widget IDs can be shared. With EVE, a lot of panel widgets are used.
350 // They really don't need an ID in most of case. So use following generic id for debug purpose.
351 
352 // <Ignore>
353 //========================================================================================
354 // ----- Widget Attribute IDs -----
355 //========================================================================================
356 
357 #define kWidgetSize kWidgetPrefix + 1
358 #define kWidgetPosition kWidgetPrefix + 2
359 #define kWidgetVisibleState kWidgetPrefix + 3
360 
361 // <Ignore>
362 //========================================================================================
363 // ----- Tree Node ID types -----
364 //========================================================================================
365 #define kUIDNodeID kWidgetPrefix + 1
366 #define kListIndexNodeID kWidgetPrefix + 2
367 #define kFileNodeID kWidgetPrefix + 3
368 #define kStringNodeID kWidgetPrefix + 4
369 #define kObjStylesSelDialogNodeID kWidgetPrefix + 5
370 #define kViewNodeID kWidgetPrefix + 6
371 //========================================================================================
372 // ----- Action/Menu IDs -----
373 //========================================================================================
374 
375 //gap
376 
377 
378 
379 // kWidgetPrefix + 21 to kMeasureToolPrefix + 40 is reserved for the measure system,
380 // please start from kWidgetPrefix + 41 to define new actionIDs.
381 
382 // DV related - this def prevents duplicate instatiation of widget ID's
383 // since we now have 2 widget plug-ins (widgets & dv_widgets) but we
384 // only want to keep one ID include file.
385 #ifndef _WIDGETID_DONT_DEFINE_DVWIDGETIDS_
386  #include "DV_WidgetID.h"
387 #endif
388 
389 #endif // __WidgetID__
390