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 #include "submenu.hrc"
22 #include <svx/globlmn.hrc>
24 // Defines -------------------------------------------------------------------------------
29 Identifier = SID_TEXT_STANDARD ; \
30 HelpID = CMD_SID_TEXT_STANDARD ; \
31 Text [ en-US ] = "~Default" ; \
34 // Font (SID_ATTR_CHAR_FONT) und Groesse (SID_ATTR_CHAR_FONTHEIGHT) duerfen nicht im
35 // Formatmenue auftauchen, weil die Controller im ExeEnv sonst im Container angelegt werden
39 Identifier = RID_MN_FORMAT_STYLE ; \
40 HelpID = HID_MN_FORMAT_STYLE ; \
41 Text [ en-US ] = "~Style" ; \
48 ITEM_FORMAT_ATTR_CHAR_WEIGHT\
52 ITEM_FORMAT_ATTR_CHAR_POSTURE\
56 ITEM_FORMAT_ATTR_CHAR_OVERLINE\
60 ITEM_FORMAT_ATTR_CHAR_UNDERLINE\
64 ITEM_FORMAT_ATTR_CHAR_STRIKEOUT\
68 ITEM_FORMAT_ATTR_CHAR_SHADOWED\
72 ITEM_FORMAT_ATTR_CHAR_CONTOUR\
80 Identifier = SID_SET_SUPER_SCRIPT ; \
81 HelpID = CMD_SID_SET_SUPER_SCRIPT ; \
82 Text [ en-US ] = "~Superscript" ; \
86 Identifier = SID_SET_SUB_SCRIPT ; \
87 HelpID = CMD_SID_SET_SUB_SCRIPT ; \
88 Text [ en-US ] = "S~ubscript" ; \
95 Identifier = RID_MN_FORMAT_ALGN ; \
96 HelpID = HID_MN_FORMAT_ALGN ; \
97 Text [ en-US ] = "~Alignment" ; \
105 Identifier = SID_ALIGNLEFT ; \
106 HelpID = CMD_SID_ATTR_PARA_ADJUST_LEFT ; \
107 RadioCheck = TRUE ; \
108 Text [ en-US ] = "~Left" ;\
112 Identifier = SID_ALIGNRIGHT ; \
113 HelpID = CMD_SID_ATTR_PARA_ADJUST_RIGHT ; \
114 RadioCheck = TRUE ; \
115 Text [ en-US ] = "~Right" ;\
119 Identifier = SID_ALIGNCENTERHOR ; \
120 HelpID = CMD_SID_ATTR_PARA_ADJUST_CENTER ; \
121 RadioCheck = TRUE ; \
122 Text [ en-US ] = "~Centered" ;\
126 Identifier = SID_ALIGNBLOCK ; \
127 HelpID = CMD_SID_ATTR_PARA_ADJUST_BLOCK ; \
128 RadioCheck = TRUE ; \
129 Text [ en-US ] = "~Justified" ; \
136 Identifier = RID_MN_FORMAT_LINESPACE ; \
137 HelpID = HID_MN_FORMAT_LINESPACE ; \
138 Text [ en-US ] = "~Line Spacing" ; \
139 _MenuItemFlags = MIB_RADIOCHECK ; \
146 ITEM_FORMAT_PARA_LINESPACE_10\
147 RadioCheck = TRUE ; \
151 ITEM_FORMAT_PARA_LINESPACE_15\
152 RadioCheck = TRUE ; \
156 ITEM_FORMAT_PARA_LINESPACE_20\
157 RadioCheck = TRUE ; \
166 ITEM_FORMAT_CHAR_DLG\
170 ITEM_FORMAT_PARA_DLG\
176 Identifier = SID_DRAW_HLINK_EDIT ; \
177 Text [ en-US ] = "~Hyperlink..." ; \
183 Identifier = SID_DRAW_HLINK_DELETE ; \
184 Text [ en-US ] = "~Remove Hyperlink" ; \
187 #define MN_DRWTXTATTR \
190 Identifier = SID_DRAWTEXT_ATTR_DLG ; \
191 HelpID = CMD_SID_DRAWTEXT_ATTR_DLG ; \
192 Text [ en-US ] = "Te~xt..." ; \
195 #define MN_ASSIGNMACRO \
198 Identifier = SID_ASSIGNMACRO ; \
199 HelpID = CMD_SID_ASSIGNMACRO ; \
200 Text [ en-US ] = "Assig~n Macro..." ; \
203 #define MN_ORIGINALSIZE \
206 Identifier = SID_ORIGINALSIZE ; \
207 HelpId = CMD_SID_ORIGINALSIZE ; \
208 Text [ en-US ] = "~Original Size" ; \
211 #define MN_RENAME_OBJECT \
214 Identifier = SID_RENAME_OBJECT ; \
215 HelpId = CMD_SID_RENAME_OBJECT ; \
216 Text [ en-US ] = "Name...";\
220 #define MN_TITLE_DESCRIPTION_OBJECT \
223 Identifier = SID_TITLE_DESCRIPTION_OBJECT; \
224 HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT; \
225 Text [ en-US ] = "Description...";\
228 #define MN_MIRRORSUB \
231 Identifier = SUBMENU_OBJMIRROR ; \
232 HelpID = HID_SCMENU_OBJMIRROR ; \
233 Text [ en-US ] = "~Flip" ; \
240 Identifier = SID_MIRROR_VERTICAL ; \
241 HelpId = CMD_SID_MIRROR_VERTICAL ; \
242 Text [ en-US ] = "~Vertically" ; \
246 Identifier = SID_MIRROR_HORIZONTAL ; \
247 HelpId = CMD_SID_MIRROR_HORIZONTAL ; \
248 Text [ en-US ] = "~Horizontal" ; \
254 #define MN_ARRANGESUB \
257 Identifier = SUBMENU_OBJARRANGE ; \
258 HelpID = HID_SCMENU_OBJARRANGE ; \
259 Text [ en-US ] = "~Arrange" ; \
266 ITEM_FORMAT_FRAME_TO_TOP\
270 Identifier = SID_FRAME_UP ; \
271 HelpId = CMD_SID_FRAME_UP ; \
272 Text [ en-US ] = "Bring ~Forward" ; \
276 Identifier = SID_FRAME_DOWN ; \
277 HelpId = CMD_SID_FRAME_DOWN ; \
278 Text [ en-US ] = "Send Back~ward" ; \
282 ITEM_FORMAT_FRAME_TO_BOTTOM\
284 MenuItem { Separator = TRUE ; }; \
287 ITEM_FORMAT_OBJECT_HEAVEN\
291 ITEM_FORMAT_OBJECT_HELL\
297 #define MN_ANCHORSUB \
300 Identifier = SUBMENU_ANCHOR ; \
301 HelpID = HID_SCMENU_ANCHOR ; \
302 Text [ en-US ] = "An~chor" ; \
309 RadioCheck = TRUE ; \
310 Identifier = SID_ANCHOR_PAGE ; \
311 HelpId = CMD_SID_ANCHOR_PAGE ; \
312 Text [ en-US ] = "To P~age" ; \
316 RadioCheck = TRUE ; \
317 Identifier = SID_ANCHOR_CELL ; \
318 HelpId = CMD_SID_ANCHOR_CELL ; \
319 Text [ en-US ] = "To ~Cell" ; \
325 #define MN_ALIGNSUB \
328 Identifier = SID_OBJECT_ALIGN ; \
329 HelpId = CMD_SID_OBJECT_ALIGN ; \
330 Text [ en-US ] = "A~lignment" ; \
337 ITEM_FORMAT_OBJECT_ALIGN_LEFT\
341 ITEM_FORMAT_OBJECT_ALIGN_CENTER\
345 ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
353 ITEM_FORMAT_OBJECT_ALIGN_UP\
357 ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
361 ITEM_FORMAT_OBJECT_ALIGN_DOWN\
368 // ------------------------------------------------------------------------------
373 String RID_DRAW_OBJECTBAR
375 Text [ en-US ] = "Drawing Object Bar" ;
380 String RID_TEXT_TOOLBOX
382 Text [ en-US ] = "Text Object Bar" ;
387 String RID_GRAPHIC_OBJECTBAR
389 Text [ en-US ] = "Image Object Bar";
392 // Popup-Menues ---------------------------------------------------------------------
394 String RID_POPUP_DRAW
396 Text [ en-US ] = "Pop-up menu for drawing objects" ;
399 // Pop-up menu for drawing objects
405 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
406 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
407 MN_DRWTXTATTR // Text...
408 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
410 //-#i68101#----------------------
411 MenuItem { Separator = TRUE ; };
412 MN_TITLE_DESCRIPTION_OBJECT
414 //-#i68101#----------------------
416 //------------------------------
417 MenuItem { Separator = TRUE ; };
418 //------------------------------
424 //------------------------------
425 MenuItem { Separator = TRUE ; };
426 //------------------------------
429 ITEM_FORMAT_BEZIER_EDIT
437 //------------------------------
438 MenuItem { Separator = TRUE ; };
439 //------------------------------
441 //------------------------------
442 MenuItem { Separator = TRUE ; };
443 //------------------------------
446 MenuItem { ITEM_OPEN_HYPERLINK };
451 // Popup-Menue fuer (Uno-) Controls
454 Menu RID_POPUP_CONTROL
458 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
460 //-#i68101#----------------------
461 MenuItem { Separator = TRUE ; };
462 MN_TITLE_DESCRIPTION_OBJECT
464 //-#i68101#----------------------
466 //------------------------------
467 MenuItem { Separator = TRUE ; };
468 //------------------------------
469 MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
470 MenuItem { ITEM_FORM_PROPERTIES };
471 //------------------------------
472 MenuItem { Separator = TRUE ; };
473 //------------------------------
477 //------------------------------
478 MenuItem { Separator = TRUE ; };
479 //------------------------------
488 Menu RID_POPUP_GRAPHIC
492 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE }; // #i25616#
493 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA }; // #i25616#
495 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
498 //-#i68101#----------------------
499 MenuItem { Separator = TRUE ; };
500 MN_TITLE_DESCRIPTION_OBJECT
502 //-#i68101#----------------------
504 //------------------------------
505 MenuItem { Separator = TRUE ; };
506 //------------------------------
512 //------------------------------
513 MenuItem { Separator = TRUE ; };
514 //------------------------------
516 //------------------------------
517 MenuItem { Separator = TRUE ; };
518 //------------------------------
521 MenuItem { ITEM_OPEN_HYPERLINK };
522 MenuItem { ITEM_COMPRESS_GRAPHIC };
523 MenuItem { ITEM_EXTERNAL_EDIT };
535 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
537 //-#i68101#----------------------
538 MenuItem { Separator = TRUE ; };
539 MN_TITLE_DESCRIPTION_OBJECT
541 //-#i68101#----------------------
543 //------------------------------
544 MenuItem { Separator = TRUE ; };
545 //------------------------------
550 //------------------------------
551 MenuItem { Separator = TRUE ; };
552 //------------------------------
565 //-#i118485# Added support for Line,Area and Text
566 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
567 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
569 //-#i118485#----------------------
571 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
574 //-#i68101#----------------------
575 MenuItem { Separator = TRUE ; };
576 MN_TITLE_DESCRIPTION_OBJECT
578 //-#i68101#----------------------
580 //------------------------------
581 MenuItem { Separator = TRUE ; };
582 //------------------------------
586 //------------------------------
587 MenuItem { Separator = TRUE ; };
588 //------------------------------
601 //-#i118485# Added support for Line,Area and Text
602 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
603 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
605 //-#i118485#----------------------
607 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
610 //-#i68101#----------------------
611 MenuItem { Separator = TRUE ; };
612 MN_TITLE_DESCRIPTION_OBJECT
614 //-#i68101#----------------------
616 //------------------------------
617 MenuItem { Separator = TRUE ; };
618 //------------------------------
622 //------------------------------
623 MenuItem { Separator = TRUE ; };
624 //------------------------------
628 Identifier = SID_EXPORT_AS_GRAPHIC ;
629 Command = ".uno:ExportAsGraphic" ;
630 Text [ en-US ] = "Export as Image.." ;
639 String RID_POPUP_DRAWTEXT
641 Text [ en-US ] = "Pop-up menu for text objects" ;
644 Menu RID_POPUP_DRAWTEXT
649 MenuItem { Separator = TRUE ; };
651 MenuItem { Separator = TRUE ; };
654 ITEM_FORMAT_ATTR_CHAR_FONT
658 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
660 // Stil, Ausrichtung, Zeilenabstand
662 MenuItem { Separator = TRUE ; };
665 MenuItem { Separator = TRUE ; };
673 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */