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 .
23 /*------------------------------------------------------------------------
25 ------------------------------------------------------------------------*/
26 #define ITEM_FORM_CONFIG \
27 Identifier = SID_FM_CONFIG ; \
28 Command = ".uno:Config" ; \
31 #define ITEM_FORM_CONTROL_PROPERTIES\
32 Identifier = SID_FM_CTL_PROPERTIES ; \
33 Command = ".uno:ControlProperties" ; \
34 Text [ en-US ] = "Con~trol..." ; \
36 #define ITEM_FORM_PROPERTIES\
37 Identifier = SID_FM_PROPERTIES ; \
38 Command = ".uno:FormProperties" ; \
39 Text [ en-US ] = "For~m..." ; \
41 #define ITEM_REPLACE_CONTROL\
42 Identifier = SID_FM_CHANGECONTROLTYPE ;\
43 Command = ".uno:ChangeControlType" ; \
44 Text [ en-US ] = "~Replace with"; \
46 #define ITEM_FORMAT_CHAR_DLG \
47 Identifier = SID_CHAR_DLG ; \
48 Command = ".uno:FontDialog" ; \
49 Text [ en-US ] = "C~haracter..." ;\
51 #define ITEM_FORMAT_PARA_DLG \
52 Identifier = SID_PARA_DLG ; \
53 Command = ".uno:ParagraphDialog" ; \
54 Text [ en-US ] = "P~aragraph..." ;\
56 #define ITEM_FORMAT_FONTWORK \
57 Identifier = SID_FONTWORK ; \
58 Command = ".uno:FontWork" ; \
59 Text [ en-US ] = "F~ontwork" ;\
61 #define ITEM_EDIT_CUT \
62 Identifier = SID_CUT ; \
63 Command = ".uno:Cut" ; \
64 Text [ en-US ] = "Cu~t" ;\
66 #define ITEM_EDIT_COPY \
67 Identifier = SID_COPY ; \
68 Command = ".uno:Copy" ; \
69 Text [ en-US ] = "~Copy" ;\
71 #define ITEM_EDIT_DELETE \
72 Identifier = SID_DELETE ; \
73 Command = ".uno:Delete" ; \
74 Text [ en-US ] = "~Delete" ;\
76 #define ITEM_FORMAT_ATTR_CHAR_FONT \
77 Identifier = SID_ATTR_CHAR_FONT ; \
78 Command = ".uno:CharFontName" ; \
79 Text [ en-US ] = "Font" ;\
81 #define ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT \
82 Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \
83 Command = ".uno:FontHeight" ; \
84 Text [ en-US ] = "Size" ;\
86 #define ITEM_FORMAT_ATTR_CHAR_WEIGHT \
87 Identifier = SID_ATTR_CHAR_WEIGHT ; \
88 Command = ".uno:Bold" ; \
89 Text [ en-US ] = "Bold" ; \
91 #define ITEM_FORMAT_ATTR_CHAR_POSTURE \
92 Identifier = SID_ATTR_CHAR_POSTURE ; \
93 Command = ".uno:Italic" ; \
94 Text [ en-US ] = "Italic" ;\
96 #define ITEM_FORMAT_ATTR_CHAR_UNDERLINE \
97 Identifier = SID_ATTR_CHAR_UNDERLINE ; \
98 Command = ".uno:Underline" ; \
99 Text [ en-US ] = "Underline" ;\
101 #define ITEM_FORMAT_ATTR_CHAR_OVERLINE \
102 Identifier = SID_ATTR_CHAR_OVERLINE ; \
103 Command = ".uno:Overline" ; \
104 Text [ en-US ] = "Overline" ;\
106 #define ITEM_FORMAT_ATTR_CHAR_STRIKEOUT \
107 Identifier = SID_ATTR_CHAR_STRIKEOUT ; \
108 Command = ".uno:Strikeout" ; \
109 Text [ en-US ] = "Strikethrough" ;\
111 #define ITEM_FORMAT_ATTR_CHAR_SHADOWED \
112 Identifier = SID_ATTR_CHAR_SHADOWED ; \
113 Command = ".uno:Shadowed" ; \
114 Text [ en-US ] = "Shadow" ;\
116 #define ITEM_FORMAT_ATTR_CHAR_CONTOUR \
117 Identifier = SID_ATTR_CHAR_CONTOUR ; \
118 Command = ".uno:OutlineFont" ; \
119 Text [ en-US ] = "Outline" ;\
121 #define ITEM_FORMAT_SET_SUPER_SCRIPT \
122 Identifier = SID_SET_SUPER_SCRIPT; \
123 Command = CMD_SID_SET_SUPER_SCRIPT; \
124 Text [ en-US ] = "Su~perscript"; \
126 #define ITEM_FORMAT_SET_SUB_SCRIPT \
127 Identifier = SID_SET_SUB_SCRIPT; \
128 Command = CMD_SID_SET_SUB_SCRIPT; \
129 Text [ en-US ] = "Su~bscript"; \
132 #define ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT \
133 Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \
134 Command = ".uno:LeftPara" ; \
135 Text [ en-US ] = "~Left" ;\
137 #define ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT \
138 Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \
139 Command = ".uno:RightPara" ; \
140 Text [ en-US ] = "~Right" ;\
142 #define ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER \
143 Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \
144 Command = ".uno:CenterPara" ; \
145 Text [ en-US ] = "~Centered" ;\
147 #define ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK \
148 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
149 Command = ".uno:JustifyPara" ; \
150 Text [ en-US ] = "Justified" ;\
152 #define ITEM_FORMAT_PARA_LINESPACE_10 \
153 Identifier = SID_ATTR_PARA_LINESPACE_10 ; \
154 Command = ".uno:SpacePara1" ; \
155 Text [ en-US ] = "Single" ;\
157 #define ITEM_FORMAT_PARA_LINESPACE_15 \
158 Identifier = SID_ATTR_PARA_LINESPACE_15 ; \
159 Command = ".uno:SpacePara15" ; \
160 Text [ en-US ] = "1.5 lines" ;\
162 #define ITEM_FORMAT_PARA_LINESPACE_20 \
163 Identifier = SID_ATTR_PARA_LINESPACE_20 ; \
164 Command = ".uno:SpacePara2" ; \
165 Text [ en-US ] = "~Double" ;\
167 #define ITEM_FORMAT_FRAME_TO_TOP \
168 Identifier = SID_FRAME_TO_TOP ; \
169 Command = ".uno:BringToFront" ; \
170 Text [ en-US ] = "~Bring to Front" ;\
172 #define ITEM_FORMAT_FRAME_TO_BOTTOM \
173 Identifier = SID_FRAME_TO_BOTTOM ; \
174 Command = ".uno:SendToBack" ; \
175 Text [ en-US ] = "~Send to Back" ;\
177 #define ITEM_FORMAT_OBJECT_ALIGN \
178 Identifier = SID_OBJECT_ALIGN ; \
179 Command = ".uno:ObjectAlign" ; \
180 Text [ en-US ] = "A~lignment" ;\
182 #define ITEM_FORMAT_OBJECT_ALIGN_LEFT \
183 Identifier = SID_OBJECT_ALIGN_LEFT ; \
184 Command = ".uno:ObjectAlignLeft" ; \
185 Text [ en-US ] = "~Left" ;\
187 #define ITEM_FORMAT_OBJECT_ALIGN_CENTER \
188 Identifier = SID_OBJECT_ALIGN_CENTER ; \
189 Command = ".uno:AlignCenter" ; \
190 Text [ en-US ] = "~Centered" ;\
192 #define ITEM_FORMAT_OBJECT_ALIGN_RIGHT \
193 Identifier = SID_OBJECT_ALIGN_RIGHT ; \
194 Command = ".uno:ObjectAlignRight" ; \
195 Text [ en-US ] = "~Right" ;\
197 #define ITEM_FORMAT_OBJECT_ALIGN_UP \
198 Identifier = SID_OBJECT_ALIGN_UP ; \
199 Command = ".uno:AlignUp" ; \
200 Text [ en-US ] = "~Top" ;\
202 #define ITEM_FORMAT_OBJECT_ALIGN_MIDDLE \
203 Identifier = SID_OBJECT_ALIGN_MIDDLE ; \
204 Command = ".uno:AlignMiddle" ; \
205 Text [ en-US ] = "C~enter" ;\
207 #define ITEM_FORMAT_OBJECT_ALIGN_DOWN \
208 Identifier = SID_OBJECT_ALIGN_DOWN ; \
209 Command = ".uno:AlignDown" ; \
210 Text [ en-US ] = "~Bottom" ;\
212 #define ITEM_FORMAT_ATTRIBUTES_LINE \
213 Identifier = SID_ATTRIBUTES_LINE ; \
214 Command = ".uno:FormatLine" ; \
215 Text [ en-US ] = "L~ine..." ;\
217 #define ITEM_FORMAT_ATTRIBUTES_AREA \
218 Identifier = SID_ATTRIBUTES_AREA ; \
219 Command = ".uno:FormatArea" ; \
220 Text [ en-US ] = "A~rea..." ;\
222 #define ITEM_FORMAT_ATTR_TRANSFORM \
223 Identifier = SID_ATTR_TRANSFORM ; \
224 Command = ".uno:TransformDialog" ; \
225 Text [ en-US ] = "Position and Si~ze..." ;\
227 #define ITEM_FORMAT_OBJECT_HEAVEN \
228 Identifier = SID_OBJECT_HEAVEN ; \
229 Command = ".uno:SetObjectToForeground" ; \
230 Text [ en-US ] = "~To Foreground" ;\
232 #define ITEM_FORMAT_OBJECT_HELL \
233 Identifier = SID_OBJECT_HELL ; \
234 Command = ".uno:SetObjectToBackground" ; \
235 Text [ en-US ] = "T~o Background" ;\
237 #define ITEM_FORMAT_BEZIER_EDIT \
238 Identifier = SID_BEZIER_EDIT ; \
239 Command = ".uno:ToggleObjectBezierMode" ; \
240 Text [ en-US ] = "Edit ~Points" ;\
243 #define ITEM_EDIT_PASTE \
244 Identifier = SID_PASTE ; \
245 Command = ".uno:Paste" ; \
246 Text [ en-US ] = "~Paste" ; \
248 #define ITEM_EDIT_IMAP \
249 Identifier = SID_IMAP ; \
250 Command = ".uno:ImageMapDialog" ; \
251 Text [ en-US ] = "ImageMap" ; \
253 #define ITEM_EXTERNAL_EDIT \
254 Identifier = SID_EXTERNAL_EDIT ; \
255 Command = ".uno:ExternalEdit" ; \
256 Text [ en-US ] = "Edit with External Tool..." ; \
258 #define ITEM_COMPRESS_GRAPHIC \
259 Identifier = SID_COMPRESS_GRAPHIC ; \
260 Command = ".uno:CompressGraphic" ; \
261 Text [ en-US ] = "Compress Graphic..." ; \
263 #define ITEM_SAVE_GRAPHIC \
264 Identifier = SID_SAVE_GRAPHIC ; \
265 Command = ".uno:SaveGraphic" ; \
266 Text [ en-US ] = "Save Graphic..." ; \
268 #define ITEM_CHANGE_PICTURE \
269 Identifier = SID_CHANGE_PICTURE ; \
270 Command = ".uno:ChangePicture" ; \
271 Text [ en-US ] = "Change Picture..." ; \
273 #define ITEM_VIEW_ATTR_ZOOM \
274 Identifier = SID_ATTR_ZOOM ; \
275 Command = ".uno:Zoom" ; \
276 Text [ en-US ] = "~Zoom..." ; \
279 #define ITEM_FORMAT_NUMBERING \
282 Identifier = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \
283 Text [ en-US ] = "~Bullets and Numbering..." ; \
287 #define ITEM_POLY_MERGE \
290 Identifier = SID_POLY_MERGE ; \
291 Command = ".uno:Merge" ; \
292 Text [ en-US ] = "~Merge" ; \
294 #define ITEM_POLY_SUBSTRACT \
297 Identifier = SID_POLY_SUBSTRACT ; \
298 Command = ".uno:Substract" ; \
299 Text [ en-US ] = "~Subtract" ; \
301 #define ITEM_POLY_INTERSECT \
304 Identifier = SID_POLY_INTERSECT ; \
305 Command = ".uno:Intersect" ; \
306 Text [ en-US ] = "I~ntersect" ; \
309 #define MNSUB_FORMEN \
312 Identifier = SID_POLY_FORMEN ; \
313 Command = ".uno:PolyFormen" ; \
314 Text [ en-US ] = "~Shapes" ; \
320 ITEM_POLY_SUBSTRACT \
321 ITEM_POLY_INTERSECT \
327 /*------------------------------------------------------------------------
329 ------------------------------------------------------------------------*/
331 #define ITEM_POPUP_TEMPLATE_EDIT \
332 Identifier = SID_STYLE_EDIT ; \
333 Command = ".uno:EditStyle" ; \
334 Text [ en-US ] = "Edit Paragraph Style..." ; \
336 // Gruppen-/Kombination-Funktionen
337 #define ITEM_POPUP_GROUP \
338 Identifier = SID_GROUP ; \
339 Command = ".uno:FormatGroup" ; \
340 Text [ en-US ] = "~Group" ; \
342 #define ITEM_POPUP_UNGROUP \
343 Identifier = SID_UNGROUP ; \
344 Command = ".uno:FormatUngroup" ; \
345 Text [ en-US ] = "~Ungroup" ; \
347 #define ITEM_POPUP_ENTER_GROUP \
348 Identifier = SID_ENTER_GROUP ; \
349 Command = ".uno:EnterGroup" ; \
350 Text [ en-US ] = "~Edit Group" ; \
352 #define ITEM_POPUP_LEAVE_GROUP \
353 Identifier = SID_LEAVE_GROUP ; \
354 Command = ".uno:LeaveGroup" ; \
355 Text [ en-US ] = "E~xit Group" ; \
357 #define ITEM_GROUP_MENU \
360 Identifier = SID_MN_GROUP ; \
361 Command = ".uno:GroupMenu" ; \
376 ITEM_POPUP_ENTER_GROUP\
380 ITEM_POPUP_LEAVE_GROUP\
384 Text [ en-US ] = "~Group" ; \
387 /*------------------------------------------------------------------------
389 ------------------------------------------------------------------------*/
391 #define ITEM_TOOLBAR_TEMPLATE_APPLY \
392 Identifier = SID_STYLE_APPLY ; \
393 Command = ".uno:StyleApply" ; \
395 #define ITEM_TOOLBAR_ATTR_CHAR_COLOR \
396 Identifier = SID_ATTR_CHAR_COLOR ; \
397 Command = ".uno:Color" ; \
400 #define ITEM_TOOLBAR_BACKGROUND_COLOR \
401 Identifier = SID_BACKGROUND_COLOR ; \
402 Command = ".uno:BackgroundColor" ; \
405 #define ITEM_TOOLBAR_ATTR_BORDER \
406 Identifier = SID_ATTR_BORDER ; \
407 Command = ".uno:BorderStyle" ; \
409 #define ITEM_TOOLBAR_FRAME_LINESTYLE \
410 Identifier = SID_FRAME_LINESTYLE ; \
411 Command = ".uno:LineStyle" ; \
413 #define ITEM_TOOLBAR_FRAME_LINECOLOR \
414 Identifier = SID_FRAME_LINECOLOR ; \
415 Command = ".uno:FrameLineColor" ; \
417 #define ITEM_TOOLBAR_ATTR_LINEEND_STYLE \
418 Identifier = SID_ATTR_LINEEND_STYLE ; \
419 Command = ".uno:LineEndStyle" ; \
422 #define ITEM_TOOLBAR_ATTR_LINE_STYLE \
423 Identifier = SID_ATTR_LINE_STYLE ; \
424 Command = ".uno:XLineStyle" ; \
426 #define ITEM_TOOLBAR_ATTR_LINE_WIDTH \
427 Identifier = SID_ATTR_LINE_WIDTH ; \
428 Command = ".uno:LineWidth" ; \
430 #define ITEM_TOOLBAR_ATTR_LINE_COLOR \
431 Identifier = SID_ATTR_LINE_COLOR ; \
432 Command = ".uno:XLineColor" ; \
434 #define ITEM_TOOLBAR_ATTR_FILL_STYLE \
435 Identifier = SID_ATTR_FILL_STYLE ; \
436 Command = ".uno:FillStyle" ; \
438 #define ITEM_TOOLBAR_OBJECT_ROTATE \
439 Identifier = SID_OBJECT_ROTATE ; \
440 Command = ".uno:ToggleObjectRotateMode" ; \
442 #define ITEM_FILE_BLUETOOTH_SENDDOC \
443 Identifier = SID_BLUETOOTH_SENDDOC ; \
444 Command = ".uno:SendViaBluetooth" ; \
445 HelpID = SID_BLUETOOTH_SENDDOC ; \
446 Text [ en-US ] = "Document via ~Bluetooth..." ; \
448 #define ITEM_TRANSLITERATE_MENU\
451 Identifier = SID_MN_SUB_TRANSLITERATE ; \
452 Command = ".uno:TransliterateMenu" ; \
459 Identifier = SID_TRANSLITERATE_SENTENCE_CASE; \
460 Command = ".uno:ChangeCaseToSentenceCase" ; \
461 Text [ en-US ] = "~Sentence case";\
465 Identifier = SID_TRANSLITERATE_LOWER; \
466 Command = ".uno:ChangeCaseToLower" ; \
467 Text [ en-US ] = "~lowercase";\
471 Identifier = SID_TRANSLITERATE_UPPER ; \
472 Command = ".uno:ChangeCaseToUpper" ; \
473 Text [ en-US ] = "~UPPERCASE";\
477 Identifier = SID_TRANSLITERATE_TITLE_CASE; \
478 Command = ".uno:ChangeCaseToTitleCase" ; \
479 Text [ en-US ] = "~Capitalize Every Word";\
483 Identifier = SID_TRANSLITERATE_TOGGLE_CASE; \
484 Command = ".uno:ChangeCaseToToggleCase" ; \
485 Text [ en-US ] = "~tOGGLE cASE";\
489 Identifier = SID_TRANSLITERATE_HALFWIDTH; \
490 Command = ".uno:ChangeCaseToHalfWidth" ; \
491 Text [ en-US ] = "H~alf-width";\
495 Identifier = SID_TRANSLITERATE_FULLWIDTH; \
496 Command = ".uno:ChangeCaseToFullWidth" ; \
497 Text [ en-US ] = "Full-width";\
501 Identifier = SID_TRANSLITERATE_HIRAGANA; \
502 Command = ".uno:ChangeCaseToHiragana" ; \
503 Text [ en-US ] = "~Hiragana";\
507 Identifier = SID_TRANSLITERATE_KATAGANA; \
508 Command = ".uno:ChangeCaseToKatakana" ; \
509 Text [ en-US ] = "~Katakana";\
513 Text [ en-US ] = "~Change Case";\
516 #define ITEM_OPEN_HYPERLINK \
517 Identifier = SID_OPEN_HYPERLINK ; \
518 Command = CMD_SID_OPEN_HYPERLINK; \
519 Text [ en-US ] = "~Open Hyperlink" ; \
521 #define ITEM_OPEN_SMARTTAGMENU \
522 Identifier = SID_OPEN_SMARTTAGMENU ; \
523 Command = CMD_SID_OPEN_SMARTTAGMENU; \
524 Text [ en-US ] = "Open ~Smart Tag Menu" ; \
527 #endif // #ifndef _GLOBLMN_HRC
529 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */