1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: toolbox2_tmpl.src,v $
10 * $Revision: 1.9.106.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #define SD_TOOLBOX RID_DRAW_TOOLBOX
33 #include "tbxids_tmpl.src"
34 #include <svx/svxids.hrc>
35 #include <svx/globlmn.hrc>
42 HelpId = HID_SD_DRAW_TOOLBOX ;
50 HideWhenDeactivate = TRUE ;
55 Size = MAP_APPFONT ( 0 , 0 ) ;
56 Align = BOXALIGN_LEFT ;
64 TBI_DRAWTBX_RECTANGLES
66 TBI_DRAWTBX_3D_OBJECTS
69 TBI_DRAWTBX_CONNECTORS
70 TBI_FONTWORK_GALLERY_FLOATER
75 TBI_DRAWTBX_CS_FLOWCHART
76 TBI_DRAWTBX_CS_CALLOUT
79 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
80 TBI_OBJECT_CHOOSE_MODE
82 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
85 ITEM_TOOLBAR_OBJECT_ROTATE
100 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
102 TBI_ANIMATION_EFFECTS
103 TBI_ANIMATION_OBJECTS
106 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
117 Identifier = SID_CHANGEBEZIER;
118 HelpID = SID_CHANGEBEZIER;
123 Identifier = SID_CHANGEPOLYGON;
124 HelpID = SID_CHANGEPOLYGON;
129 Identifier = SID_CONVERT_TO_3D;
130 HelpID = SID_CONVERT_TO_3D;
135 Identifier = SID_CONVERT_TO_3D_LATHE_FAST;
136 HelpID = SID_CONVERT_TO_3D_LATHE_FAST;
144 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
145 ToolBox RID_DRAW_OBJ_TOOLBOX
146 #elif SD_TOOLBOX == RID_GRAPHIC_TOOLBOX
147 ToolBox RID_GRAPHIC_OBJ_TOOLBOX
150 HelpId = HID_SD_DRAW_OBJ_TOOLBOX ;
158 HideWhenDeactivate = TRUE ;
163 Size = MAP_APPFONT ( 0 , 0 ) ;
164 Align = BOXALIGN_TOP ;
167 TBI_FORMAT_BEZIER_EDIT_RC
169 TBI ( ITEM_FORMAT_ATTRIBUTES_LINE )
170 TBI ( ITEM_TOOLBAR_ATTR_LINEEND_STYLE )
171 TBI ( ITEM_TOOLBAR_ATTR_LINE_STYLE )
172 TBI ( ITEM_TOOLBAR_ATTR_LINE_WIDTH )
173 TBI ( ITEM_TOOLBAR_ATTR_LINE_COLOR )
175 TBI ( ITEM_FORMAT_ATTRIBUTES_AREA )
176 TBI ( ITEM_TOOLBAR_ATTR_FILL_STYLE )
179 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
180 TBI_TOGGLECOMMONTASKBAR
188 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
189 ToolBox RID_DRAW_OPTIONS_TOOLBOX
190 #elif SD_TOOLBOX == RID_GRAPHIC_TOOLBOX
191 ToolBox RID_GRAPHIC_OPTIONS_TOOLBOX
194 HelpId = HID_SD_DRAW_OPTIONS_TOOLBOX ;
202 HideWhenDeactivate = TRUE ;
207 Size = MAP_APPFONT ( 0 , 0 ) ;
208 Align = BOXALIGN_TOP ;
211 TBI_FORMAT_BEZIER_EDIT
214 TBI_CLICK_CHANGE_ROTATION
217 TBI_HELPLINES_VISIBLE
228 TBI_DOUBLECLICK_TEXTEDIT
232 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
239 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
240 ToolBox RID_DRAW_TEXT_TOOLBOX
241 #elif SD_TOOLBOX == RID_GRAPHIC_TOOLBOX
242 ToolBox RID_GRAPHIC_TEXT_TOOLBOX
245 HelpId = HID_SD_TEXT_TOOLBOX ;
253 HideWhenDeactivate = TRUE ;
258 Size = MAP_APPFONT ( 0 , 0 ) ;
259 Align = BOXALIGN_TOP ;
264 ITEM_FORMAT_ATTR_CHAR_FONT
268 Type = TOOLBOXITEM_SEPARATOR ;
272 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
276 Type = TOOLBOXITEM_SEPARATOR ;
280 ITEM_FORMAT_ATTR_CHAR_WEIGHT
284 ITEM_FORMAT_ATTR_CHAR_POSTURE
288 ITEM_FORMAT_ATTR_CHAR_UNDERLINE
292 ITEM_FORMAT_ATTR_CHAR_OVERLINE
296 ITEM_TOOLBAR_ATTR_CHAR_COLOR
301 Type = TOOLBOXITEM_SEPARATOR ;
305 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT
309 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER
313 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT
317 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ;
318 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
323 Type = TOOLBOXITEM_SEPARATOR ;
327 Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;
328 HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;
334 Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;
335 HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;
341 Type = TOOLBOXITEM_SEPARATOR ;
345 Identifier = SID_PARASPACE_INCREASE ;
346 HelpID = SID_PARASPACE_INCREASE ;
350 Identifier = SID_PARASPACE_DECREASE ;
351 HelpID = SID_PARASPACE_DECREASE ;
355 Type = TOOLBOXITEM_SEPARATOR ;
357 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
360 ITEM_FORMAT_PARA_LINESPACE_10
364 ITEM_FORMAT_PARA_LINESPACE_15
368 ITEM_FORMAT_PARA_LINESPACE_20
372 Type = TOOLBOXITEM_SEPARATOR ;
376 Identifier = FN_NUM_BULLET_ON ;
377 HelpID = FN_NUM_BULLET_ON ;
382 ITEM_FORMAT_PARA_LINESPACE_10
387 ITEM_FORMAT_PARA_LINESPACE_15
392 ITEM_FORMAT_PARA_LINESPACE_20
397 Type = TOOLBOXITEM_SEPARATOR ;
401 Identifier = FN_NUM_BULLET_ON ;
402 HelpID = FN_NUM_BULLET_ON ;
406 Identifier = SID_OUTLINE_LEFT ;
407 HelpID = SID_OUTLINE_LEFT ;
411 Identifier = SID_OUTLINE_RIGHT ;
412 HelpID = SID_OUTLINE_RIGHT ;
416 Identifier = SID_OUTLINE_UP ;
417 HelpID = SID_OUTLINE_UP ;
421 Identifier = SID_OUTLINE_DOWN ;
422 HelpID = SID_OUTLINE_DOWN ;
427 Type = TOOLBOXITEM_SEPARATOR ;
431 Identifier = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
432 HelpID = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
436 Identifier = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
437 HelpID = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
441 Type = TOOLBOXITEM_SEPARATOR ;
453 Type = TOOLBOXITEM_SEPARATOR ;
455 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
458 Identifier = SID_OUTLINE_BULLET ;
459 HelpID = SID_OUTLINE_BULLET ;
464 Identifier = SID_CHARMAP;
465 HelpId = SID_CHARMAP;
473 ITEM_FORMAT_ATTR_CHAR_FONT
477 Type = TOOLBOXITEM_SEPARATOR ;
481 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
485 Type = TOOLBOXITEM_SEPARATOR ;
489 ITEM_FORMAT_ATTR_CHAR_WEIGHT
493 ITEM_FORMAT_ATTR_CHAR_POSTURE
497 ITEM_FORMAT_ATTR_CHAR_UNDERLINE
501 ITEM_FORMAT_ATTR_CHAR_OVERLINE
505 ITEM_TOOLBAR_ATTR_CHAR_COLOR
510 Type = TOOLBOXITEM_SEPARATOR ;
514 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT
518 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER
522 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT
526 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ;
527 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
532 Type = TOOLBOXITEM_SEPARATOR ;
536 Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;
537 HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;
543 Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;
544 HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;
550 Type = TOOLBOXITEM_SEPARATOR ;
554 Identifier = SID_PARASPACE_INCREASE ;
555 HelpID = SID_PARASPACE_INCREASE ;
559 Identifier = SID_PARASPACE_DECREASE ;
560 HelpID = SID_PARASPACE_DECREASE ;
564 Type = TOOLBOXITEM_SEPARATOR ;
566 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
569 ITEM_FORMAT_PARA_LINESPACE_10
573 ITEM_FORMAT_PARA_LINESPACE_15
577 ITEM_FORMAT_PARA_LINESPACE_20
581 Type = TOOLBOXITEM_SEPARATOR ;
585 Identifier = FN_NUM_BULLET_ON ;
586 HelpID = FN_NUM_BULLET_ON ;
591 ITEM_FORMAT_PARA_LINESPACE_10
596 ITEM_FORMAT_PARA_LINESPACE_15
601 ITEM_FORMAT_PARA_LINESPACE_20
606 Type = TOOLBOXITEM_SEPARATOR ;
610 Identifier = FN_NUM_BULLET_ON ;
611 HelpID = FN_NUM_BULLET_ON ;
615 Identifier = SID_OUTLINE_LEFT ;
616 HelpID = SID_OUTLINE_LEFT ;
620 Identifier = SID_OUTLINE_RIGHT ;
621 HelpID = SID_OUTLINE_RIGHT ;
625 Identifier = SID_OUTLINE_UP ;
626 HelpID = SID_OUTLINE_UP ;
630 Identifier = SID_OUTLINE_DOWN ;
631 HelpID = SID_OUTLINE_DOWN ;
636 Type = TOOLBOXITEM_SEPARATOR ;
640 Identifier = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
641 HelpID = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
645 Identifier = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
646 HelpID = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
650 Type = TOOLBOXITEM_SEPARATOR ;
662 Type = TOOLBOXITEM_SEPARATOR ;
664 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
667 Identifier = SID_OUTLINE_BULLET ;
668 HelpID = SID_OUTLINE_BULLET ;
673 Identifier = SID_CHARMAP;
674 HelpId = SID_CHARMAP;
682 ITEM_FORMAT_ATTR_CHAR_FONT
686 Type = TOOLBOXITEM_SEPARATOR ;
690 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
694 Type = TOOLBOXITEM_SEPARATOR ;
698 ITEM_FORMAT_ATTR_CHAR_WEIGHT
702 ITEM_FORMAT_ATTR_CHAR_POSTURE
706 ITEM_FORMAT_ATTR_CHAR_UNDERLINE
710 ITEM_FORMAT_ATTR_CHAR_OVERLINE
714 ITEM_TOOLBAR_ATTR_CHAR_COLOR
719 Type = TOOLBOXITEM_SEPARATOR ;
723 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT
727 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER
731 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT
735 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ;
736 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
741 Type = TOOLBOXITEM_SEPARATOR ;
745 Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;
746 HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;
752 Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;
753 HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;
759 Type = TOOLBOXITEM_SEPARATOR ;
763 Identifier = SID_PARASPACE_INCREASE ;
764 HelpID = SID_PARASPACE_INCREASE ;
768 Identifier = SID_PARASPACE_DECREASE ;
769 HelpID = SID_PARASPACE_DECREASE ;
773 Type = TOOLBOXITEM_SEPARATOR ;
775 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
778 ITEM_FORMAT_PARA_LINESPACE_10
782 ITEM_FORMAT_PARA_LINESPACE_15
786 ITEM_FORMAT_PARA_LINESPACE_20
790 Type = TOOLBOXITEM_SEPARATOR ;
794 Identifier = FN_NUM_BULLET_ON ;
795 HelpID = FN_NUM_BULLET_ON ;
800 ITEM_FORMAT_PARA_LINESPACE_10
805 ITEM_FORMAT_PARA_LINESPACE_15
810 ITEM_FORMAT_PARA_LINESPACE_20
815 Type = TOOLBOXITEM_SEPARATOR ;
819 Identifier = FN_NUM_BULLET_ON ;
820 HelpID = FN_NUM_BULLET_ON ;
824 Identifier = SID_OUTLINE_LEFT ;
825 HelpID = SID_OUTLINE_LEFT ;
829 Identifier = SID_OUTLINE_RIGHT ;
830 HelpID = SID_OUTLINE_RIGHT ;
834 Identifier = SID_OUTLINE_UP ;
835 HelpID = SID_OUTLINE_UP ;
839 Identifier = SID_OUTLINE_DOWN ;
840 HelpID = SID_OUTLINE_DOWN ;
845 Type = TOOLBOXITEM_SEPARATOR ;
849 Identifier = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
850 HelpID = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
854 Identifier = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
855 HelpID = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
859 Type = TOOLBOXITEM_SEPARATOR ;
871 Type = TOOLBOXITEM_SEPARATOR ;
873 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
876 Identifier = SID_OUTLINE_BULLET ;
877 HelpID = SID_OUTLINE_BULLET ;
882 Identifier = SID_CHARMAP;
883 HelpId = SID_CHARMAP;