2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 /*------------------------------------------------------------------------
24 ------------------------------------------------------------------------*/
25 #define ITEM_FORM_CONFIG \
26 Identifier = SID_FM_CONFIG ; \
27 Command = ".uno:Config" ; \
30 #define ITEM_FORM_CONTROL_PROPERTIES\
31 Identifier = SID_FM_CTL_PROPERTIES ; \
32 Command = ".uno:ControlProperties" ; \
33 Text [ en-US ] = "Con~trol..." ; \
35 #define ITEM_FORM_PROPERTIES\
36 Identifier = SID_FM_PROPERTIES ; \
37 Command = ".uno:FormProperties" ; \
38 Text [ en-US ] = "For~m..." ; \
40 #define ITEM_REPLACE_CONTROL\
41 Identifier = SID_FM_CHANGECONTROLTYPE ;\
42 Command = ".uno:ChangeControlType" ; \
43 Text [ en-US ] = "~Replace with"; \
45 #define ITEM_FORMAT_CHAR_DLG \
46 Identifier = SID_CHAR_DLG ; \
47 Command = ".uno:FontDialog" ; \
48 Text [ en-US ] = "C~haracter..." ;\
50 #define ITEM_FORMAT_PARA_DLG \
51 Identifier = SID_PARA_DLG ; \
52 Command = ".uno:ParagraphDialog" ; \
53 Text [ en-US ] = "P~aragraph..." ;\
55 #define ITEM_FORMAT_FONTWORK \
56 Identifier = SID_FONTWORK ; \
57 Command = ".uno:FontWork" ; \
58 Text [ en-US ] = "F~ontwork" ;\
60 #define ITEM_EDIT_CUT \
61 Identifier = SID_CUT ; \
62 Command = ".uno:Cut" ; \
63 Text [ en-US ] = "Cu~t" ;\
65 #define ITEM_EDIT_COPY \
66 Identifier = SID_COPY ; \
67 Command = ".uno:Copy" ; \
68 Text [ en-US ] = "~Copy" ;\
70 #define ITEM_EDIT_DELETE \
71 Identifier = SID_DELETE ; \
72 Command = ".uno:Delete" ; \
73 Text [ en-US ] = "~Delete" ;\
75 #define ITEM_FORMAT_ATTR_CHAR_FONT \
76 Identifier = SID_ATTR_CHAR_FONT ; \
77 Command = ".uno:CharFontName" ; \
78 Text [ en-US ] = "Font" ;\
80 #define ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT \
81 Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \
82 Command = ".uno:FontHeight" ; \
83 Text [ en-US ] = "Size" ;\
85 #define ITEM_FORMAT_ATTR_CHAR_WEIGHT \
86 Identifier = SID_ATTR_CHAR_WEIGHT ; \
87 Command = ".uno:Bold" ; \
88 Text [ en-US ] = "Bold" ; \
90 #define ITEM_FORMAT_ATTR_CHAR_POSTURE \
91 Identifier = SID_ATTR_CHAR_POSTURE ; \
92 Command = ".uno:Italic" ; \
93 Text [ en-US ] = "Italic" ;\
95 #define ITEM_FORMAT_ATTR_CHAR_UNDERLINE \
96 Identifier = SID_ATTR_CHAR_UNDERLINE ; \
97 Command = ".uno:Underline" ; \
98 Text [ en-US ] = "Underline" ;\
100 #define ITEM_FORMAT_ATTR_CHAR_OVERLINE \
101 Identifier = SID_ATTR_CHAR_OVERLINE ; \
102 Command = ".uno:Overline" ; \
103 Text [ en-US ] = "Overline" ;\
105 #define ITEM_FORMAT_ATTR_CHAR_STRIKEOUT \
106 Identifier = SID_ATTR_CHAR_STRIKEOUT ; \
107 Command = ".uno:Strikeout" ; \
108 Text [ en-US ] = "Strikethrough" ;\
110 #define ITEM_FORMAT_ATTR_CHAR_SHADOWED \
111 Identifier = SID_ATTR_CHAR_SHADOWED ; \
112 Command = ".uno:Shadowed" ; \
113 Text [ en-US ] = "Shadow" ;\
115 #define ITEM_FORMAT_ATTR_CHAR_CONTOUR \
116 Identifier = SID_ATTR_CHAR_CONTOUR ; \
117 Command = ".uno:OutlineFont" ; \
118 Text [ en-US ] = "Outline" ;\
120 #define ITEM_FORMAT_SET_SUPER_SCRIPT \
121 Identifier = SID_SET_SUPER_SCRIPT; \
122 Command = CMD_SID_SET_SUPER_SCRIPT; \
123 Text [ en-US ] = "Su~perscript"; \
125 #define ITEM_FORMAT_SET_SUB_SCRIPT \
126 Identifier = SID_SET_SUB_SCRIPT; \
127 Command = CMD_SID_SET_SUB_SCRIPT; \
128 Text [ en-US ] = "Su~bscript"; \
131 #define ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT \
132 Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \
133 Command = ".uno:LeftPara" ; \
134 Text [ en-US ] = "~Left" ;\
136 #define ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT \
137 Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \
138 Command = ".uno:RightPara" ; \
139 Text [ en-US ] = "~Right" ;\
141 #define ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER \
142 Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \
143 Command = ".uno:CenterPara" ; \
144 Text [ en-US ] = "~Centered" ;\
146 #define ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK \
147 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
148 Command = ".uno:JustifyPara" ; \
149 Text [ en-US ] = "Justified" ;\
151 #define ITEM_FORMAT_PARA_LINESPACE_10 \
152 Identifier = SID_ATTR_PARA_LINESPACE_10 ; \
153 Command = ".uno:SpacePara1" ; \
154 Text [ en-US ] = "Single" ;\
156 #define ITEM_FORMAT_PARA_LINESPACE_15 \
157 Identifier = SID_ATTR_PARA_LINESPACE_15 ; \
158 Command = ".uno:SpacePara15" ; \
159 Text [ en-US ] = "1.5 lines" ;\
161 #define ITEM_FORMAT_PARA_LINESPACE_20 \
162 Identifier = SID_ATTR_PARA_LINESPACE_20 ; \
163 Command = ".uno:SpacePara2" ; \
164 Text [ en-US ] = "~Double" ;\
166 #define ITEM_FORMAT_FRAME_TO_TOP \
167 Identifier = SID_FRAME_TO_TOP ; \
168 Command = ".uno:BringToFront" ; \
169 Text [ en-US ] = "~Bring to Front" ;\
171 #define ITEM_FORMAT_FRAME_TO_BOTTOM \
172 Identifier = SID_FRAME_TO_BOTTOM ; \
173 Command = ".uno:SendToBack" ; \
174 Text [ en-US ] = "~Send to Back" ;\
176 #define ITEM_FORMAT_OBJECT_ALIGN \
177 Identifier = SID_OBJECT_ALIGN ; \
178 Command = ".uno:ObjectAlign" ; \
179 Text [ en-US ] = "A~lignment" ;\
181 #define ITEM_FORMAT_OBJECT_ALIGN_LEFT \
182 Identifier = SID_OBJECT_ALIGN_LEFT ; \
183 Command = ".uno:ObjectAlignLeft" ; \
184 Text [ en-US ] = "~Left" ;\
186 #define ITEM_FORMAT_OBJECT_ALIGN_CENTER \
187 Identifier = SID_OBJECT_ALIGN_CENTER ; \
188 Command = ".uno:AlignCenter" ; \
189 Text [ en-US ] = "~Centered" ;\
191 #define ITEM_FORMAT_OBJECT_ALIGN_RIGHT \
192 Identifier = SID_OBJECT_ALIGN_RIGHT ; \
193 Command = ".uno:ObjectAlignRight" ; \
194 Text [ en-US ] = "~Right" ;\
196 #define ITEM_FORMAT_OBJECT_ALIGN_UP \
197 Identifier = SID_OBJECT_ALIGN_UP ; \
198 Command = ".uno:AlignUp" ; \
199 Text [ en-US ] = "~Top" ;\
201 #define ITEM_FORMAT_OBJECT_ALIGN_MIDDLE \
202 Identifier = SID_OBJECT_ALIGN_MIDDLE ; \
203 Command = ".uno:AlignMiddle" ; \
204 Text [ en-US ] = "C~enter" ;\
206 #define ITEM_FORMAT_OBJECT_ALIGN_DOWN \
207 Identifier = SID_OBJECT_ALIGN_DOWN ; \
208 Command = ".uno:AlignDown" ; \
209 Text [ en-US ] = "~Bottom" ;\
211 #define ITEM_FORMAT_ATTRIBUTES_LINE \
212 Identifier = SID_ATTRIBUTES_LINE ; \
213 Command = ".uno:FormatLine" ; \
214 Text [ en-US ] = "L~ine..." ;\
216 #define ITEM_FORMAT_ATTRIBUTES_AREA \
217 Identifier = SID_ATTRIBUTES_AREA ; \
218 Command = ".uno:FormatArea" ; \
219 Text [ en-US ] = "A~rea..." ;\
221 #define ITEM_FORMAT_ATTR_TRANSFORM \
222 Identifier = SID_ATTR_TRANSFORM ; \
223 Command = ".uno:TransformDialog" ; \
224 Text [ en-US ] = "Position and Si~ze..." ;\
226 #define ITEM_FORMAT_OBJECT_HEAVEN \
227 Identifier = SID_OBJECT_HEAVEN ; \
228 Command = ".uno:SetObjectToForeground" ; \
229 Text [ en-US ] = "~To Foreground" ;\
231 #define ITEM_FORMAT_OBJECT_HELL \
232 Identifier = SID_OBJECT_HELL ; \
233 Command = ".uno:SetObjectToBackground" ; \
234 Text [ en-US ] = "T~o Background" ;\
236 #define ITEM_FORMAT_BEZIER_EDIT \
237 Identifier = SID_BEZIER_EDIT ; \
238 Command = ".uno:ToggleObjectBezierMode" ; \
239 Text [ en-US ] = "Edit ~Points" ;\
242 #define ITEM_EDIT_PASTE \
243 Identifier = SID_PASTE ; \
244 Command = ".uno:Paste" ; \
245 Text [ en-US ] = "~Paste" ; \
247 #define ITEM_EDIT_IMAP \
248 Identifier = SID_IMAP ; \
249 Command = ".uno:ImageMapDialog" ; \
250 Text [ en-US ] = "ImageMap" ; \
252 #define ITEM_EXTERNAL_EDIT \
253 Identifier = SID_EXTERNAL_EDIT ; \
254 Command = ".uno:ExternalEdit" ; \
255 Text [ en-US ] = "Edit with External Tool..." ; \
257 #define ITEM_COMPRESS_GRAPHIC \
258 Identifier = SID_COMPRESS_GRAPHIC ; \
259 Command = ".uno:CompressGraphic" ; \
260 Text [ en-US ] = "Compress Graphic..." ; \
262 #define ITEM_SAVE_GRAPHIC \
263 Identifier = SID_SAVE_GRAPHIC ; \
264 Command = ".uno:SaveGraphic" ; \
265 Text [ en-US ] = "Save Graphic..." ; \
267 #define ITEM_CHANGE_PICTURE \
268 Identifier = SID_CHANGE_PICTURE ; \
269 Command = ".uno:ChangePicture" ; \
270 Text [ en-US ] = "Change Picture..." ; \
272 #define ITEM_VIEW_ATTR_ZOOM \
273 Identifier = SID_ATTR_ZOOM ; \
274 Command = ".uno:Zoom" ; \
275 Text [ en-US ] = "~Zoom..." ; \
278 #define ITEM_FORMAT_NUMBERING \
281 Identifier = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \
282 Text [ en-US ] = "~Bullets and Numbering..." ; \
286 #define ITEM_POLY_MERGE \
289 Identifier = SID_POLY_MERGE ; \
290 Command = ".uno:Merge" ; \
291 Text [ en-US ] = "~Merge" ; \
293 #define ITEM_POLY_SUBSTRACT \
296 Identifier = SID_POLY_SUBSTRACT ; \
297 Command = ".uno:Substract" ; \
298 Text [ en-US ] = "~Subtract" ; \
300 #define ITEM_POLY_INTERSECT \
303 Identifier = SID_POLY_INTERSECT ; \
304 Command = ".uno:Intersect" ; \
305 Text [ en-US ] = "I~ntersect" ; \
308 #define MNSUB_FORMEN \
311 Identifier = SID_POLY_FORMEN ; \
312 Command = ".uno:PolyFormen" ; \
313 Text [ en-US ] = "~Shapes" ; \
319 ITEM_POLY_SUBSTRACT \
320 ITEM_POLY_INTERSECT \
326 /*------------------------------------------------------------------------
328 ------------------------------------------------------------------------*/
330 #define ITEM_POPUP_TEMPLATE_EDIT \
331 Identifier = SID_STYLE_EDIT ; \
332 Command = ".uno:EditStyle" ; \
333 Text [ en-US ] = "Edit Paragraph Style..." ; \
335 // Gruppen-/Kombination-Funktionen
336 #define ITEM_POPUP_GROUP \
337 Identifier = SID_GROUP ; \
338 Command = ".uno:FormatGroup" ; \
339 Text [ en-US ] = "~Group" ; \
341 #define ITEM_POPUP_UNGROUP \
342 Identifier = SID_UNGROUP ; \
343 Command = ".uno:FormatUngroup" ; \
344 Text [ en-US ] = "~Ungroup" ; \
346 #define ITEM_POPUP_ENTER_GROUP \
347 Identifier = SID_ENTER_GROUP ; \
348 Command = ".uno:EnterGroup" ; \
349 Text [ en-US ] = "~Edit Group" ; \
351 #define ITEM_POPUP_LEAVE_GROUP \
352 Identifier = SID_LEAVE_GROUP ; \
353 Command = ".uno:LeaveGroup" ; \
354 Text [ en-US ] = "E~xit Group" ; \
356 #define ITEM_GROUP_MENU \
359 Identifier = SID_MN_GROUP ; \
360 Command = ".uno:GroupMenu" ; \
375 ITEM_POPUP_ENTER_GROUP\
379 ITEM_POPUP_LEAVE_GROUP\
383 Text [ en-US ] = "~Group" ; \
386 /*------------------------------------------------------------------------
388 ------------------------------------------------------------------------*/
390 #define ITEM_TOOLBAR_TEMPLATE_APPLY \
391 Identifier = SID_STYLE_APPLY ; \
392 Command = ".uno:StyleApply" ; \
394 #define ITEM_TOOLBAR_ATTR_CHAR_COLOR \
395 Identifier = SID_ATTR_CHAR_COLOR ; \
396 Command = ".uno:Color" ; \
399 #define ITEM_TOOLBAR_BACKGROUND_COLOR \
400 Identifier = SID_BACKGROUND_COLOR ; \
401 Command = ".uno:BackgroundColor" ; \
404 #define ITEM_TOOLBAR_ATTR_BORDER \
405 Identifier = SID_ATTR_BORDER ; \
406 Command = ".uno:BorderStyle" ; \
408 #define ITEM_TOOLBAR_FRAME_LINESTYLE \
409 Identifier = SID_FRAME_LINESTYLE ; \
410 Command = ".uno:LineStyle" ; \
412 #define ITEM_TOOLBAR_FRAME_LINECOLOR \
413 Identifier = SID_FRAME_LINECOLOR ; \
414 Command = ".uno:FrameLineColor" ; \
416 #define ITEM_TOOLBAR_ATTR_LINEEND_STYLE \
417 Identifier = SID_ATTR_LINEEND_STYLE ; \
418 Command = ".uno:LineEndStyle" ; \
421 #define ITEM_TOOLBAR_ATTR_LINE_STYLE \
422 Identifier = SID_ATTR_LINE_STYLE ; \
423 Command = ".uno:XLineStyle" ; \
425 #define ITEM_TOOLBAR_ATTR_LINE_WIDTH \
426 Identifier = SID_ATTR_LINE_WIDTH ; \
427 Command = ".uno:LineWidth" ; \
429 #define ITEM_TOOLBAR_ATTR_LINE_COLOR \
430 Identifier = SID_ATTR_LINE_COLOR ; \
431 Command = ".uno:XLineColor" ; \
433 #define ITEM_TOOLBAR_ATTR_FILL_STYLE \
434 Identifier = SID_ATTR_FILL_STYLE ; \
435 Command = ".uno:FillStyle" ; \
437 #define ITEM_TOOLBAR_OBJECT_ROTATE \
438 Identifier = SID_OBJECT_ROTATE ; \
439 Command = ".uno:ToggleObjectRotateMode" ; \
441 #define ITEM_FILE_BLUETOOTH_SENDDOC \
442 Identifier = SID_BLUETOOTH_SENDDOC ; \
443 Command = ".uno:SendViaBluetooth" ; \
444 HelpID = SID_BLUETOOTH_SENDDOC ; \
445 Text [ en-US ] = "Document via ~Bluetooth..." ; \
447 #define ITEM_TRANSLITERATE_MENU\
450 Identifier = SID_MN_SUB_TRANSLITERATE ; \
451 Command = ".uno:TransliterateMenu" ; \
458 Identifier = SID_TRANSLITERATE_SENTENCE_CASE; \
459 Command = ".uno:ChangeCaseToSentenceCase" ; \
460 Text [ en-US ] = "~Sentence case";\
464 Identifier = SID_TRANSLITERATE_LOWER; \
465 Command = ".uno:ChangeCaseToLower" ; \
466 Text [ en-US ] = "~lowercase";\
470 Identifier = SID_TRANSLITERATE_UPPER ; \
471 Command = ".uno:ChangeCaseToUpper" ; \
472 Text [ en-US ] = "~UPPERCASE";\
476 Identifier = SID_TRANSLITERATE_TITLE_CASE; \
477 Command = ".uno:ChangeCaseToTitleCase" ; \
478 Text [ en-US ] = "~Capitalize Every Word";\
482 Identifier = SID_TRANSLITERATE_TOGGLE_CASE; \
483 Command = ".uno:ChangeCaseToToggleCase" ; \
484 Text [ en-US ] = "~tOGGLE cASE";\
488 Identifier = SID_TRANSLITERATE_HALFWIDTH; \
489 Command = ".uno:ChangeCaseToHalfWidth" ; \
490 Text [ en-US ] = "H~alf-width";\
494 Identifier = SID_TRANSLITERATE_FULLWIDTH; \
495 Command = ".uno:ChangeCaseToFullWidth" ; \
496 Text [ en-US ] = "Full-width";\
500 Identifier = SID_TRANSLITERATE_HIRAGANA; \
501 Command = ".uno:ChangeCaseToHiragana" ; \
502 Text [ en-US ] = "~Hiragana";\
506 Identifier = SID_TRANSLITERATE_KATAGANA; \
507 Command = ".uno:ChangeCaseToKatakana" ; \
508 Text [ en-US ] = "~Katakana";\
512 Text [ en-US ] = "~Change Case";\
515 #define ITEM_OPEN_HYPERLINK \
516 Identifier = SID_OPEN_HYPERLINK ; \
517 Command = CMD_SID_OPEN_HYPERLINK; \
518 Text [ en-US ] = "~Open Hyperlink" ; \
520 #define ITEM_OPEN_SMARTTAGMENU \
521 Identifier = SID_OPEN_SMARTTAGMENU ; \
522 Command = CMD_SID_OPEN_SMARTTAGMENU; \
523 Text [ en-US ] = "Open ~Smart Tag Menu" ; \
526 #endif // #ifndef _GLOBLMN_HRC