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" ; \
47 Identifier = SID_DRAW_HLINK_EDIT ; \
48 Text [ en-US ] = "~Hyperlink..." ; \
54 Identifier = SID_DRAW_HLINK_DELETE ; \
55 Text [ en-US ] = "~Remove Hyperlink" ; \
58 #define MN_DRWTXTATTR \
61 Identifier = SID_DRAWTEXT_ATTR_DLG ; \
62 HelpID = CMD_SID_DRAWTEXT_ATTR_DLG ; \
63 Text [ en-US ] = "Te~xt..." ; \
66 #define MN_ASSIGNMACRO \
69 Identifier = SID_ASSIGNMACRO ; \
70 HelpID = CMD_SID_ASSIGNMACRO ; \
71 Text [ en-US ] = "Assig~n Macro..." ; \
74 #define MN_ORIGINALSIZE \
77 Identifier = SID_ORIGINALSIZE ; \
78 HelpId = CMD_SID_ORIGINALSIZE ; \
79 Text [ en-US ] = "~Original Size" ; \
82 #define MN_RENAME_OBJECT \
85 Identifier = SID_RENAME_OBJECT ; \
86 HelpId = CMD_SID_RENAME_OBJECT ; \
87 Text [ en-US ] = "Name...";\
91 #define MN_TITLE_DESCRIPTION_OBJECT \
94 Identifier = SID_TITLE_DESCRIPTION_OBJECT; \
95 HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT; \
96 Text [ en-US ] = "Description...";\
99 #define MN_MIRRORSUB \
102 Identifier = SUBMENU_OBJMIRROR ; \
103 HelpID = HID_SCMENU_OBJMIRROR ; \
104 Text [ en-US ] = "~Flip" ; \
111 Identifier = SID_MIRROR_VERTICAL ; \
112 HelpId = CMD_SID_MIRROR_VERTICAL ; \
113 Text [ en-US ] = "~Vertically" ; \
117 Identifier = SID_MIRROR_HORIZONTAL ; \
118 HelpId = CMD_SID_MIRROR_HORIZONTAL ; \
119 Text [ en-US ] = "~Horizontal" ; \
125 #define MN_ARRANGESUB \
128 Identifier = SUBMENU_OBJARRANGE ; \
129 HelpID = HID_SCMENU_OBJARRANGE ; \
130 Text [ en-US ] = "~Arrange" ; \
137 ITEM_FORMAT_FRAME_TO_TOP\
141 Identifier = SID_FRAME_UP ; \
142 HelpId = CMD_SID_FRAME_UP ; \
143 Text [ en-US ] = "Bring ~Forward" ; \
147 Identifier = SID_FRAME_DOWN ; \
148 HelpId = CMD_SID_FRAME_DOWN ; \
149 Text [ en-US ] = "Send Back~ward" ; \
153 ITEM_FORMAT_FRAME_TO_BOTTOM\
155 MenuItem { Separator = TRUE ; }; \
158 ITEM_FORMAT_OBJECT_HEAVEN\
162 ITEM_FORMAT_OBJECT_HELL\
168 #define MN_ANCHORSUB \
171 Identifier = SUBMENU_ANCHOR ; \
172 HelpID = HID_SCMENU_ANCHOR ; \
173 Text [ en-US ] = "An~chor" ; \
180 RadioCheck = TRUE ; \
181 Identifier = SID_ANCHOR_PAGE ; \
182 HelpId = CMD_SID_ANCHOR_PAGE ; \
183 Text [ en-US ] = "To P~age" ; \
187 RadioCheck = TRUE ; \
188 Identifier = SID_ANCHOR_CELL ; \
189 HelpId = CMD_SID_ANCHOR_CELL ; \
190 Text [ en-US ] = "To ~Cell" ; \
196 #define MN_ALIGNSUB \
199 Identifier = SID_OBJECT_ALIGN ; \
200 HelpId = CMD_SID_OBJECT_ALIGN ; \
201 Text [ en-US ] = "A~lignment" ; \
208 ITEM_FORMAT_OBJECT_ALIGN_LEFT\
212 ITEM_FORMAT_OBJECT_ALIGN_CENTER\
216 ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
224 ITEM_FORMAT_OBJECT_ALIGN_UP\
228 ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
232 ITEM_FORMAT_OBJECT_ALIGN_DOWN\
238 // Popup-Menues ---------------------------------------------------------------------
240 String RID_POPUP_DRAW
242 Text [ en-US ] = "Pop-up menu for drawing objects" ;
245 // Pop-up menu for drawing objects
251 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
252 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
253 MN_DRWTXTATTR // Text...
254 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
256 //-#i68101#----------------------
257 MenuItem { Separator = TRUE ; };
258 MN_TITLE_DESCRIPTION_OBJECT
260 //-#i68101#----------------------
262 MenuItem { Separator = TRUE ; };
270 MenuItem { Separator = TRUE ; };
274 ITEM_FORMAT_BEZIER_EDIT
283 MenuItem { Separator = TRUE ; };
287 MenuItem { Separator = TRUE ; };
291 MenuItem { ITEM_OPEN_HYPERLINK };
295 // Popup-Menue fuer (Uno-) Controls
297 Menu RID_POPUP_CONTROL
301 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
303 //-#i68101#----------------------
304 MenuItem { Separator = TRUE ; };
305 MN_TITLE_DESCRIPTION_OBJECT
307 //-#i68101#----------------------
309 MenuItem { Separator = TRUE ; };
311 MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
312 MenuItem { ITEM_FORM_PROPERTIES };
314 MenuItem { Separator = TRUE ; };
320 MenuItem { Separator = TRUE ; };
328 Menu RID_POPUP_GRAPHIC
332 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE }; // #i25616#
333 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA }; // #i25616#
335 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
338 //-#i68101#----------------------
339 MenuItem { Separator = TRUE ; };
340 MN_TITLE_DESCRIPTION_OBJECT
342 //-#i68101#----------------------
344 MenuItem { Separator = TRUE ; };
352 MenuItem { Separator = TRUE ; };
356 MenuItem { Separator = TRUE ; };
360 MenuItem { ITEM_OPEN_HYPERLINK };
362 MenuItem { Separator = TRUE ; };
365 Identifier = RID_IMAGE_SUBMENU ;
366 Text [ en-US ] = "Image" ;
371 MenuItem { ITEM_CHANGE_PICTURE };
372 MenuItem { ITEM_SAVE_GRAPHIC };
373 MenuItem { ITEM_COMPRESS_GRAPHIC };
374 MenuItem { ITEM_EXTERNAL_EDIT };
376 MenuItem { Separator = TRUE ; };
378 MenuItem { ITEM_OBJECT_CROP };
391 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
393 //-#i68101#----------------------
394 MenuItem { Separator = TRUE ; };
395 MN_TITLE_DESCRIPTION_OBJECT
397 //-#i68101#----------------------
399 MenuItem { Separator = TRUE ; };
406 MenuItem { Separator = TRUE ; };
418 //-#i118485# Added support for Line,Area and Text
419 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
420 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
422 //-#i118485#----------------------
424 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
427 //-#i68101#----------------------
428 MenuItem { Separator = TRUE ; };
429 MN_TITLE_DESCRIPTION_OBJECT
431 //-#i68101#----------------------
433 MenuItem { Separator = TRUE ; };
439 MenuItem { Separator = TRUE ; };
451 //-#i118485# Added support for Line,Area and Text
452 MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
453 MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
455 //-#i118485#----------------------
457 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
460 //-#i68101#----------------------
461 MenuItem { Separator = TRUE ; };
462 MN_TITLE_DESCRIPTION_OBJECT
464 //-#i68101#----------------------
466 MenuItem { Separator = TRUE ; };
472 MenuItem { Separator = TRUE ; };
477 Identifier = SID_EXPORT_AS_GRAPHIC ;
478 Command = ".uno:ExportAsGraphic" ;
479 Text [ en-US ] = "Export as Image.." ;
486 String RID_POPUP_DRAWTEXT
488 Text [ en-US ] = "Pop-up menu for text objects" ;
491 Menu RID_POPUP_DRAWTEXT
496 MenuItem { Separator = TRUE ; };
498 MenuItem { Separator = TRUE ; };
501 MenuItem { Separator = TRUE ; };
509 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */