xref: /aoo4110/main/sd/source/ui/app/tbxids_tmpl.src (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _TBXIDS_SRC
25#define _TBXIDS_SRC
26#define SEPARATOR       ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; };
27#define TBI(x)          ToolBoxItem { x };
28 //
29 // Werkzeugleiste
30 //
31#define TBI_OBJECT_SELECT \
32    ToolBoxItem\
33    {\
34        Identifier = SID_OBJECT_SELECT ; \
35        HelpID = SID_OBJECT_SELECT ; \
36        RadioCheck = TRUE ; \
37        Checkable = TRUE ; \
38	};
39
40#define TBI_ZOOM_TOOLBOX \
41    ToolBoxItem\
42    {\
43        Identifier = SID_ZOOM_TOOLBOX ; \
44        HelpID = SID_ZOOM_TOOLBOX ; \
45        DropDown = TRUE ; \
46        Checkable = TRUE ; \
47        RadioCheck = TRUE ; \
48	};
49
50#define TBI_OBJECT_CHOOSE_MODE \
51    ToolBoxItem\
52    {\
53        Identifier = SID_OBJECT_CHOOSE_MODE ; \
54        HelpID = SID_OBJECT_CHOOSE_MODE ; \
55        DropDown = TRUE ; \
56        Checkable = TRUE ; \
57        RadioCheck = TRUE ; \
58	};
59
60#define TBI_OBJECT_ALIGN \
61    ToolBoxItem\
62    {\
63        Identifier = SID_OBJECT_ALIGN ; \
64        HelpID = SID_OBJECT_ALIGN ; \
65        DropDown = TRUE ; \
66	};
67
68#define TBI_POSITION \
69    ToolBoxItem\
70    {\
71        Identifier = SID_POSITION ; \
72        HelpID = SID_POSITION ; \
73        DropDown = TRUE ; \
74	};
75
76#define TBI_DRAWTBX_TEXT \
77    ToolBoxItem\
78    {\
79        Identifier = SID_DRAWTBX_TEXT ; \
80        HelpID = SID_DRAWTBX_TEXT ; \
81        DropDown = TRUE ; \
82        Checkable = TRUE ; \
83        RadioCheck = TRUE ; \
84	};
85
86#define TBI_DRAWTBX_RECTANGLES \
87    ToolBoxItem\
88    {\
89        Identifier = SID_DRAWTBX_RECTANGLES ; \
90        HelpID = SID_DRAWTBX_RECTANGLES ; \
91        DropDown = TRUE ; \
92        Checkable = TRUE ; \
93        RadioCheck = TRUE ; \
94	};
95
96#define TBI_DRAWTBX_ELLIPSES \
97    ToolBoxItem\
98    {\
99        Identifier = SID_DRAWTBX_ELLIPSES ; \
100        HelpID = SID_DRAWTBX_ELLIPSES ; \
101        DropDown = TRUE ; \
102        Checkable = TRUE ; \
103        RadioCheck = TRUE ; \
104	};
105
106#define TBI_DRAWTBX_LINES \
107    ToolBoxItem\
108    {\
109        Identifier = SID_DRAWTBX_LINES ; \
110        HelpID = SID_DRAWTBX_LINES ; \
111        DropDown = TRUE ; \
112        Checkable = TRUE ; \
113        RadioCheck = TRUE ; \
114	};
115
116#define TBI_DRAWTBX_ARROWS \
117    ToolBoxItem\
118    {\
119        Identifier = SID_DRAWTBX_ARROWS ; \
120        HelpID = SID_DRAWTBX_ARROWS ; \
121        DropDown = TRUE ; \
122        Checkable = TRUE ; \
123        RadioCheck = TRUE ; \
124	};
125
126#define TBI_FONTWORK_GALLERY_FLOATER \
127    ToolBoxItem\
128    {\
129        Identifier = SID_FONTWORK_GALLERY_FLOATER ; \
130        HelpID = SID_FONTWORK_GALLERY_FLOATER ; \
131        DropDown = FALSE ; \
132        Checkable = TRUE ; \
133        RadioCheck = TRUE ; \
134	};
135
136#define TBI_DRAWTBX_CS_BASIC \
137	ToolBoxItem\
138    {\
139        Identifier = SID_DRAWTBX_CS_BASIC ; \
140        HelpID = SID_DRAWTBX_CS_BASIC ; \
141        DropDown = TRUE ; \
142        Checkable = TRUE ; \
143        RadioCheck = TRUE ; \
144	};
145
146#define TBI_DRAWTBX_CS_SYMBOL \
147	ToolBoxItem\
148    {\
149        Identifier = SID_DRAWTBX_CS_SYMBOL ; \
150        HelpID = SID_DRAWTBX_CS_SYMBOL ; \
151        DropDown = TRUE ; \
152        Checkable = TRUE ; \
153        RadioCheck = TRUE ; \
154	};
155
156#define TBI_DRAWTBX_CS_ARROW \
157	ToolBoxItem\
158    {\
159        Identifier = SID_DRAWTBX_CS_ARROW ; \
160        HelpID = SID_DRAWTBX_CS_ARROW ; \
161        DropDown = TRUE ; \
162        Checkable = TRUE ; \
163        RadioCheck = TRUE ; \
164	};
165
166#define TBI_DRAWTBX_CS_FLOWCHART \
167	ToolBoxItem\
168    {\
169        Identifier = SID_DRAWTBX_CS_FLOWCHART ; \
170        HelpID = SID_DRAWTBX_CS_FLOWCHART ; \
171        DropDown = TRUE ; \
172        Checkable = TRUE ; \
173        RadioCheck = TRUE ; \
174	};
175
176#define TBI_DRAWTBX_CS_CALLOUT \
177	ToolBoxItem\
178    {\
179        Identifier = SID_DRAWTBX_CS_CALLOUT ; \
180        HelpID = SID_DRAWTBX_CS_CALLOUT ; \
181        DropDown = TRUE ; \
182        Checkable = TRUE ; \
183        RadioCheck = TRUE ; \
184	};
185
186#define TBI_DRAWTBX_CS_STAR \
187	ToolBoxItem\
188    {\
189        Identifier = SID_DRAWTBX_CS_STAR ; \
190        HelpID = SID_DRAWTBX_CS_STAR ; \
191        DropDown = TRUE ; \
192        Checkable = TRUE ; \
193        RadioCheck = TRUE ; \
194	};
195
196#define TBI_DRAWTBX_3D_OBJECTS \
197    ToolBoxItem\
198    {\
199        Identifier = SID_DRAWTBX_3D_OBJECTS ; \
200        HelpID = SID_DRAWTBX_3D_OBJECTS ; \
201        DropDown = TRUE ; \
202        Checkable = TRUE ; \
203        RadioCheck = TRUE ; \
204        Hide = TRUE ; \
205	};
206
207#define TBI_DRAWTBX_CONNECTORS \
208    ToolBoxItem\
209    {\
210        Identifier = SID_DRAWTBX_CONNECTORS ; \
211        HelpID = SID_DRAWTBX_CONNECTORS ; \
212        DropDown = TRUE ; \
213        Checkable = TRUE ; \
214        RadioCheck = TRUE ; \
215	};
216
217#define TBI_DRAWTBX_INSERT \
218    ToolBoxItem\
219    {\
220        Identifier = SID_DRAWTBX_INSERT ; \
221        HelpID = SID_DRAWTBX_INSERT ; \
222        DropDown = TRUE ; \
223        Checkable = TRUE ; \
224        RadioCheck = TRUE ; \
225	};
226
227#define TBI_PRESENTATION \
228    ToolBoxItem\
229    {\
230        Identifier = SID_PRESENTATION ; \
231        HelpID = SID_PRESENTATION ; \
232	};
233
234#define TBI_EFFECT_WIN \
235    ToolBoxItem\
236    {\
237        Identifier = SID_CUSTOM_ANIMATION_PANEL ; \
238        HelpID = SID_CUSTOM_ANIMATION_PANEL ; \
239        AutoCheck = TRUE ; \
240	};
241
242#define TBI_ANIMATION_EFFECTS \
243    ToolBoxItem\
244    {\
245        Identifier = SID_ANIMATION_EFFECTS ; \
246        HelpID = SID_ANIMATION_EFFECTS ; \
247	};
248
249#define TBI_ANIMATION_OBJECTS \
250    ToolBoxItem\
251    {\
252        Identifier = SID_ANIMATION_OBJECTS ; \
253        HelpID = SID_ANIMATION_OBJECTS ; \
254        AutoCheck = TRUE ; \
255		Hide = TRUE; \
256	};
257
258#define TBI_3D_WIN \
259    ToolBoxItem\
260    {\
261        Identifier = SID_3D_WIN ; \
262        HelpID = SID_3D_WIN ; \
263        AutoCheck = TRUE ; \
264        Hide = TRUE; \
265	};
266
267 //
268 // Objektleiste
269 //
270#define TBI_FORMAT_BEZIER_EDIT_RC \
271    ToolBoxItem\
272    {\
273        ITEM_FORMAT_BEZIER_EDIT\
274        AutoCheck = TRUE ; \
275        Checkable = TRUE ; \
276        RadioCheck = TRUE ; \
277    };
278
279#define TBI_ATTR_FILL_SHADOW \
280    ToolBoxItem\
281    {\
282        Identifier = SID_ATTR_FILL_SHADOW ; \
283        HelpID = SID_ATTR_FILL_SHADOW ; \
284	};
285
286#define TBI_TOGGLECOMMONTASKBAR \
287    ToolBoxItem\
288    {\
289        Identifier = SID_TOGGLECOMMONTASKBAR ; \
290        HelpID = SID_TOGGLECOMMONTASKBAR ; \
291        AutoCheck = TRUE ; \
292	};
293
294#define TBI_IMAGEMAP \
295	ToolBoxItem\
296	{\
297		Identifier = SID_IMAP ; \
298		HelpID = SID_IMAP; \
299		Hide = TRUE; \
300	};
301
302#define TBI_ZOOM_IN \
303	ToolBoxItem\
304	{\
305		Identifier = SID_ZOOM_IN ; \
306		HelpID = SID_ZOOM_IN; \
307		Hide = TRUE; \
308	};
309
310#define TBI_ZOOM_OUT \
311	ToolBoxItem\
312	{\
313		Identifier = SID_ZOOM_OUT ; \
314		HelpID = SID_ZOOM_OUT; \
315		Hide = TRUE; \
316	};
317
318#define TBI_ATTR_TRANSFORM \
319	ToolBoxItem\
320	{\
321		Identifier = SID_ATTR_TRANSFORM; \
322		HelpID = SID_ATTR_TRANSFORM; \
323		Hide = TRUE; \
324	};
325
326#define TBI_MIRROR \
327	ToolBoxItem\
328	{\
329		Identifier = SID_OBJECT_MIRROR; \
330		HelpID = SID_OBJECT_MIRROR; \
331		Hide = TRUE; \
332	};
333
334#define TBI_TRANSPARENCE \
335	ToolBoxItem\
336	{\
337		Identifier = SID_OBJECT_TRANSPARENCE; \
338		HelpID = SID_OBJECT_TRANSPARENCE; \
339		Hide = TRUE; \
340	};
341
342#define TBI_GRADIENT \
343	ToolBoxItem\
344	{\
345		Identifier = SID_OBJECT_GRADIENT; \
346		HelpID = SID_OBJECT_GRADIENT; \
347		Hide = TRUE; \
348	};
349
350#define TBI_CONVERT \
351	ToolBoxItem\
352	{\
353		Identifier = SID_CONVERT;\
354		HelpID = SID_CONVERT;\
355		Hide = TRUE; \
356	};
357
358#define TBI_LSPACE_10 \
359	ToolBoxItem \
360	{\
361		Identifier = SID_ATTR_PARA_LINESPACE_10; \
362		HelpID = SID_ATTR_PARA_LINESPACE_10; \
363		Hide = TRUE; \
364	};
365
366#define TBI_LSPACE_15 \
367	ToolBoxItem \
368	{\
369		Identifier = SID_ATTR_PARA_LINESPACE_15; \
370		HelpID = SID_ATTR_PARA_LINESPACE_15; \
371		Hide = TRUE; \
372	};
373
374#define TBI_LSPACE_20 \
375	ToolBoxItem \
376	{\
377		Identifier = SID_ATTR_PARA_LINESPACE_20; \
378		HelpID = SID_ATTR_PARA_LINESPACE_20; \
379		Hide = TRUE; \
380	};
381
382
383
384 //
385 // Optionsleiste
386 //
387#define TBI_FORMAT_BEZIER_EDIT \
388    ToolBoxItem\
389    {\
390        ITEM_FORMAT_BEZIER_EDIT\
391        AutoCheck = TRUE ; \
392        Checkable = TRUE ; \
393    };
394
395#define TBI_GLUE_EDITMODE \
396    ToolBoxItem\
397    {\
398        Checkable = TRUE ; \
399        AutoCheck = TRUE ; \
400        Identifier = SID_GLUE_EDITMODE ; \
401        HelpID = SID_GLUE_EDITMODE ; \
402	};
403
404#define TBI_CLICK_CHANGE_ROTATION \
405    ToolBoxItem\
406    {\
407        Identifier = SID_CLICK_CHANGE_ROTATION ; \
408        HelpID = SID_CLICK_CHANGE_ROTATION ; \
409        AutoCheck = TRUE ; \
410	};
411
412#define TBI_GRID_VISIBLE \
413    ToolBoxItem\
414    {\
415        Identifier = SID_GRID_VISIBLE ; \
416        HelpID = SID_GRID_VISIBLE ; \
417        AutoCheck = TRUE ; \
418	};
419
420#define TBI_HELPLINES_VISIBLE \
421    ToolBoxItem\
422    {\
423        Identifier = SID_HELPLINES_VISIBLE ; \
424        HelpID = SID_HELPLINES_VISIBLE ; \
425        AutoCheck = TRUE ; \
426	};
427
428#define TBI_HELPLINES_MOVE \
429    ToolBoxItem\
430    {\
431        Identifier = SID_HELPLINES_MOVE ; \
432        HelpID = SID_HELPLINES_MOVE ; \
433        AutoCheck = TRUE ; \
434	};
435
436#define TBI_GRID_USE \
437    ToolBoxItem\
438    {\
439        Identifier = SID_GRID_USE ; \
440        HelpID = SID_GRID_USE ; \
441        AutoCheck = TRUE ; \
442	};
443
444#define TBI_HELPLINES_USE \
445    ToolBoxItem\
446    {\
447        Identifier = SID_HELPLINES_USE ; \
448        HelpID = SID_HELPLINES_USE ; \
449        AutoCheck = TRUE ; \
450	};
451
452#define TBI_SNAP_BORDER \
453    ToolBoxItem\
454    {\
455        Identifier = SID_SNAP_BORDER ; \
456        HelpID = SID_SNAP_BORDER ; \
457        AutoCheck = TRUE ; \
458	};
459
460#define TBI_SNAP_FRAME \
461    ToolBoxItem\
462    {\
463        Identifier = SID_SNAP_FRAME ; \
464        HelpID = SID_SNAP_FRAME ; \
465        AutoCheck = TRUE ; \
466	};
467
468#define TBI_SNAP_POINTS \
469    ToolBoxItem\
470    {\
471        Identifier = SID_SNAP_POINTS ; \
472        HelpID = SID_SNAP_POINTS ; \
473        AutoCheck = TRUE ; \
474	};
475
476#define TBI_QUICKEDIT \
477    ToolBoxItem\
478    {\
479        Identifier = SID_QUICKEDIT ; \
480        HelpID = SID_QUICKEDIT ; \
481        AutoCheck = TRUE ; \
482	};
483
484#define TBI_PICK_THROUGH \
485    ToolBoxItem\
486    {\
487        Identifier = SID_PICK_THROUGH ; \
488        HelpID = SID_PICK_THROUGH ; \
489        AutoCheck = TRUE ; \
490	};
491
492#define TBI_DOUBLECLICK_TEXTEDIT \
493    ToolBoxItem\
494    {\
495        Identifier = SID_DOUBLECLICK_TEXTEDIT ; \
496        HelpID = SID_DOUBLECLICK_TEXTEDIT ; \
497        AutoCheck = TRUE ; \
498	};
499
500#define TBI_HANDLES_DRAFT \
501    ToolBoxItem\
502    {\
503        Identifier = SID_HANDLES_DRAFT ; \
504        HelpID = SID_HANDLES_DRAFT ; \
505        AutoCheck = TRUE ; \
506	};
507
508#define TBI_BIG_HANDLES \
509    ToolBoxItem\
510    {\
511        Identifier = SID_BIG_HANDLES ; \
512        HelpID = SID_BIG_HANDLES ; \
513        AutoCheck = TRUE ; \
514	};
515
516#define TBI_SOLID_CREATE \
517    ToolBoxItem\
518    {\
519        Identifier = SID_SOLID_CREATE ; \
520        HelpID = SID_SOLID_CREATE ; \
521        AutoCheck = TRUE ; \
522	};
523
524#define TBI_LEAVE_ALL_GROUPS \
525    ToolBoxItem\
526    {\
527        Identifier = SID_LEAVE_ALL_GROUPS ; \
528        HelpID = SID_LEAVE_ALL_GROUPS ; \
529        AutoCheck = TRUE ; \
530	};
531
532#endif // _TBXIDS_SRC
533