1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #define SD_TOOLBOX RID_DRAW_TOOLBOX
22 #include "tbxids_tmpl.src"
23 #include <svx/svxids.hrc>
24 #include <svx/globlmn.hrc>
31 HelpId = HID_SD_DRAW_TOOLBOX ;
39 HideWhenDeactivate = TRUE ;
44 Size = MAP_APPFONT ( 0 , 0 ) ;
45 Align = BOXALIGN_LEFT ;
53 TBI_DRAWTBX_RECTANGLES
55 TBI_DRAWTBX_3D_OBJECTS
58 TBI_DRAWTBX_CONNECTORS
59 TBI_FONTWORK_GALLERY_FLOATER
64 TBI_DRAWTBX_CS_FLOWCHART
65 TBI_DRAWTBX_CS_CALLOUT
68 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
69 TBI_OBJECT_CHOOSE_MODE
71 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
74 ITEM_TOOLBAR_OBJECT_ROTATE
89 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
95 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
106 Identifier = SID_CHANGEBEZIER;
107 HelpID = SID_CHANGEBEZIER;
112 Identifier = SID_CHANGEPOLYGON;
113 HelpID = SID_CHANGEPOLYGON;
118 Identifier = SID_CONVERT_TO_3D;
119 HelpID = SID_CONVERT_TO_3D;
124 Identifier = SID_CONVERT_TO_3D_LATHE_FAST;
125 HelpID = SID_CONVERT_TO_3D_LATHE_FAST;
133 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
134 ToolBox RID_DRAW_OBJ_TOOLBOX
135 #elif SD_TOOLBOX == RID_GRAPHIC_TOOLBOX
136 ToolBox RID_GRAPHIC_OBJ_TOOLBOX
139 HelpId = HID_SD_DRAW_OBJ_TOOLBOX ;
147 HideWhenDeactivate = TRUE ;
152 Size = MAP_APPFONT ( 0 , 0 ) ;
153 Align = BOXALIGN_TOP ;
156 TBI_FORMAT_BEZIER_EDIT_RC
158 TBI ( ITEM_FORMAT_ATTRIBUTES_LINE )
159 TBI ( ITEM_TOOLBAR_ATTR_LINEEND_STYLE )
160 TBI ( ITEM_TOOLBAR_ATTR_LINE_STYLE )
161 TBI ( ITEM_TOOLBAR_ATTR_LINE_WIDTH )
162 TBI ( ITEM_TOOLBAR_ATTR_LINE_COLOR )
164 TBI ( ITEM_FORMAT_ATTRIBUTES_AREA )
165 TBI ( ITEM_TOOLBAR_ATTR_FILL_STYLE )
168 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
169 TBI_TOGGLECOMMONTASKBAR
177 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
178 ToolBox RID_DRAW_OPTIONS_TOOLBOX
179 #elif SD_TOOLBOX == RID_GRAPHIC_TOOLBOX
180 ToolBox RID_GRAPHIC_OPTIONS_TOOLBOX
183 HelpId = HID_SD_DRAW_OPTIONS_TOOLBOX ;
191 HideWhenDeactivate = TRUE ;
196 Size = MAP_APPFONT ( 0 , 0 ) ;
197 Align = BOXALIGN_TOP ;
200 TBI_FORMAT_BEZIER_EDIT
203 TBI_CLICK_CHANGE_ROTATION
206 TBI_HELPLINES_VISIBLE
217 TBI_DOUBLECLICK_TEXTEDIT
219 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
226 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
227 ToolBox RID_DRAW_TEXT_TOOLBOX
228 #elif SD_TOOLBOX == RID_GRAPHIC_TOOLBOX
229 ToolBox RID_GRAPHIC_TEXT_TOOLBOX
232 HelpId = HID_SD_TEXT_TOOLBOX ;
240 HideWhenDeactivate = TRUE ;
245 Size = MAP_APPFONT ( 0 , 0 ) ;
246 Align = BOXALIGN_TOP ;
251 ITEM_FORMAT_ATTR_CHAR_FONT
255 Type = TOOLBOXITEM_SEPARATOR ;
259 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
263 Type = TOOLBOXITEM_SEPARATOR ;
267 ITEM_FORMAT_ATTR_CHAR_WEIGHT
271 ITEM_FORMAT_ATTR_CHAR_POSTURE
275 ITEM_FORMAT_ATTR_CHAR_UNDERLINE
279 ITEM_FORMAT_ATTR_CHAR_OVERLINE
283 ITEM_TOOLBAR_ATTR_CHAR_COLOR
288 Type = TOOLBOXITEM_SEPARATOR ;
292 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT
296 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER
300 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT
304 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ;
305 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
310 Type = TOOLBOXITEM_SEPARATOR ;
314 Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;
315 HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;
321 Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;
322 HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;
328 Type = TOOLBOXITEM_SEPARATOR ;
332 Identifier = SID_PARASPACE_INCREASE ;
333 HelpID = SID_PARASPACE_INCREASE ;
337 Identifier = SID_PARASPACE_DECREASE ;
338 HelpID = SID_PARASPACE_DECREASE ;
342 Type = TOOLBOXITEM_SEPARATOR ;
344 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
347 ITEM_FORMAT_PARA_LINESPACE_10
351 ITEM_FORMAT_PARA_LINESPACE_15
355 ITEM_FORMAT_PARA_LINESPACE_20
359 Type = TOOLBOXITEM_SEPARATOR ;
363 Identifier = FN_NUM_BULLET_ON ;
364 HelpID = FN_NUM_BULLET_ON ;
369 ITEM_FORMAT_PARA_LINESPACE_10
374 ITEM_FORMAT_PARA_LINESPACE_15
379 ITEM_FORMAT_PARA_LINESPACE_20
384 Type = TOOLBOXITEM_SEPARATOR ;
388 Identifier = FN_NUM_BULLET_ON ;
389 HelpID = FN_NUM_BULLET_ON ;
393 Identifier = SID_OUTLINE_LEFT ;
394 HelpID = SID_OUTLINE_LEFT ;
398 Identifier = SID_OUTLINE_RIGHT ;
399 HelpID = SID_OUTLINE_RIGHT ;
403 Identifier = SID_OUTLINE_UP ;
404 HelpID = SID_OUTLINE_UP ;
408 Identifier = SID_OUTLINE_DOWN ;
409 HelpID = SID_OUTLINE_DOWN ;
414 Type = TOOLBOXITEM_SEPARATOR ;
418 Identifier = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
419 HelpID = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
423 Identifier = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
424 HelpID = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
428 Type = TOOLBOXITEM_SEPARATOR ;
440 Type = TOOLBOXITEM_SEPARATOR ;
442 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
445 Identifier = SID_OUTLINE_BULLET ;
446 HelpID = SID_OUTLINE_BULLET ;
451 Identifier = SID_CHARMAP;
452 HelpId = SID_CHARMAP;
460 ITEM_FORMAT_ATTR_CHAR_FONT
464 Type = TOOLBOXITEM_SEPARATOR ;
468 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
472 Type = TOOLBOXITEM_SEPARATOR ;
476 ITEM_FORMAT_ATTR_CHAR_WEIGHT
480 ITEM_FORMAT_ATTR_CHAR_POSTURE
484 ITEM_FORMAT_ATTR_CHAR_UNDERLINE
488 ITEM_FORMAT_ATTR_CHAR_OVERLINE
492 ITEM_TOOLBAR_ATTR_CHAR_COLOR
497 Type = TOOLBOXITEM_SEPARATOR ;
501 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT
505 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER
509 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT
513 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ;
514 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
519 Type = TOOLBOXITEM_SEPARATOR ;
523 Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;
524 HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;
530 Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;
531 HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;
537 Type = TOOLBOXITEM_SEPARATOR ;
541 Identifier = SID_PARASPACE_INCREASE ;
542 HelpID = SID_PARASPACE_INCREASE ;
546 Identifier = SID_PARASPACE_DECREASE ;
547 HelpID = SID_PARASPACE_DECREASE ;
551 Type = TOOLBOXITEM_SEPARATOR ;
553 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
556 ITEM_FORMAT_PARA_LINESPACE_10
560 ITEM_FORMAT_PARA_LINESPACE_15
564 ITEM_FORMAT_PARA_LINESPACE_20
568 Type = TOOLBOXITEM_SEPARATOR ;
572 Identifier = FN_NUM_BULLET_ON ;
573 HelpID = FN_NUM_BULLET_ON ;
578 ITEM_FORMAT_PARA_LINESPACE_10
583 ITEM_FORMAT_PARA_LINESPACE_15
588 ITEM_FORMAT_PARA_LINESPACE_20
593 Type = TOOLBOXITEM_SEPARATOR ;
597 Identifier = FN_NUM_BULLET_ON ;
598 HelpID = FN_NUM_BULLET_ON ;
602 Identifier = SID_OUTLINE_LEFT ;
603 HelpID = SID_OUTLINE_LEFT ;
607 Identifier = SID_OUTLINE_RIGHT ;
608 HelpID = SID_OUTLINE_RIGHT ;
612 Identifier = SID_OUTLINE_UP ;
613 HelpID = SID_OUTLINE_UP ;
617 Identifier = SID_OUTLINE_DOWN ;
618 HelpID = SID_OUTLINE_DOWN ;
623 Type = TOOLBOXITEM_SEPARATOR ;
627 Identifier = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
628 HelpID = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
632 Identifier = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
633 HelpID = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
637 Type = TOOLBOXITEM_SEPARATOR ;
649 Type = TOOLBOXITEM_SEPARATOR ;
651 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
654 Identifier = SID_OUTLINE_BULLET ;
655 HelpID = SID_OUTLINE_BULLET ;
660 Identifier = SID_CHARMAP;
661 HelpId = SID_CHARMAP;
669 ITEM_FORMAT_ATTR_CHAR_FONT
673 Type = TOOLBOXITEM_SEPARATOR ;
677 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
681 Type = TOOLBOXITEM_SEPARATOR ;
685 ITEM_FORMAT_ATTR_CHAR_WEIGHT
689 ITEM_FORMAT_ATTR_CHAR_POSTURE
693 ITEM_FORMAT_ATTR_CHAR_UNDERLINE
697 ITEM_FORMAT_ATTR_CHAR_OVERLINE
701 ITEM_TOOLBAR_ATTR_CHAR_COLOR
706 Type = TOOLBOXITEM_SEPARATOR ;
710 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT
714 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER
718 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT
722 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ;
723 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
728 Type = TOOLBOXITEM_SEPARATOR ;
732 Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;
733 HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;
739 Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;
740 HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;
746 Type = TOOLBOXITEM_SEPARATOR ;
750 Identifier = SID_PARASPACE_INCREASE ;
751 HelpID = SID_PARASPACE_INCREASE ;
755 Identifier = SID_PARASPACE_DECREASE ;
756 HelpID = SID_PARASPACE_DECREASE ;
760 Type = TOOLBOXITEM_SEPARATOR ;
762 #if SD_TOOLBOX != RID_DRAW_TOOLBOX
765 ITEM_FORMAT_PARA_LINESPACE_10
769 ITEM_FORMAT_PARA_LINESPACE_15
773 ITEM_FORMAT_PARA_LINESPACE_20
777 Type = TOOLBOXITEM_SEPARATOR ;
781 Identifier = FN_NUM_BULLET_ON ;
782 HelpID = FN_NUM_BULLET_ON ;
787 ITEM_FORMAT_PARA_LINESPACE_10
792 ITEM_FORMAT_PARA_LINESPACE_15
797 ITEM_FORMAT_PARA_LINESPACE_20
802 Type = TOOLBOXITEM_SEPARATOR ;
806 Identifier = FN_NUM_BULLET_ON ;
807 HelpID = FN_NUM_BULLET_ON ;
811 Identifier = SID_OUTLINE_LEFT ;
812 HelpID = SID_OUTLINE_LEFT ;
816 Identifier = SID_OUTLINE_RIGHT ;
817 HelpID = SID_OUTLINE_RIGHT ;
821 Identifier = SID_OUTLINE_UP ;
822 HelpID = SID_OUTLINE_UP ;
826 Identifier = SID_OUTLINE_DOWN ;
827 HelpID = SID_OUTLINE_DOWN ;
832 Type = TOOLBOXITEM_SEPARATOR ;
836 Identifier = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
837 HelpID = SID_TEXTDIRECTION_LEFT_TO_RIGHT ;
841 Identifier = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
842 HelpID = SID_TEXTDIRECTION_TOP_TO_BOTTOM ;
846 Type = TOOLBOXITEM_SEPARATOR ;
858 Type = TOOLBOXITEM_SEPARATOR ;
860 #if SD_TOOLBOX == RID_DRAW_TOOLBOX
863 Identifier = SID_OUTLINE_BULLET ;
864 HelpID = SID_OUTLINE_BULLET ;
869 Identifier = SID_CHARMAP;
870 HelpId = SID_CHARMAP;
876 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */