1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
30 /*------------------------------------------------------------------------
31 Beschreibung: Menu-IDs
32 ------------------------------------------------------------------------*/
33 #define ITEM_FORM_CONFIG \
34 Identifier = SID_FM_CONFIG ; \
35 Command = ".uno:Config" ; \
38 #define ITEM_FORM_CONTROL_PROPERTIES\
39 Identifier = SID_FM_CTL_PROPERTIES ; \
40 Command = ".uno:ControlProperties" ; \
41 Text [ en-US ] = "Con~trol..." ; \
43 #define ITEM_FORM_PROPERTIES\
44 Identifier = SID_FM_PROPERTIES ; \
45 Command = ".uno:FormProperties" ; \
46 Text [ en-US ] = "For~m..." ; \
48 #define ITEM_REPLACE_CONTROL\
49 Identifier = SID_FM_CHANGECONTROLTYPE ;\
50 Command = ".uno:ChangeControlType" ; \
51 Text [ en-US ] = "~Replace with"; \
53 #define ITEM_FORMAT_CHAR_DLG \
54 Identifier = SID_CHAR_DLG ; \
55 Command = ".uno:FontDialog" ; \
56 Text [ en-US ] = "C~haracter..." ;\
58 #define ITEM_FORMAT_PARA_DLG \
59 Identifier = SID_PARA_DLG ; \
60 Command = ".uno:ParagraphDialog" ; \
61 Text [ en-US ] = "P~aragraph..." ;\
63 #define ITEM_FORMAT_FONTWORK \
64 Identifier = SID_FONTWORK ; \
65 Command = ".uno:FontWork" ; \
66 Text [ en-US ] = "F~ontwork" ;\
68 #define ITEM_EDIT_CUT \
69 Identifier = SID_CUT ; \
70 Command = ".uno:Cut" ; \
71 Text [ en-US ] = "Cu~t" ;\
73 #define ITEM_EDIT_COPY \
74 Identifier = SID_COPY ; \
75 Command = ".uno:Copy" ; \
76 Text [ en-US ] = "~Copy" ;\
78 #define ITEM_EDIT_DELETE \
79 Identifier = SID_DELETE ; \
80 Command = ".uno:Delete" ; \
81 Text [ en-US ] = "~Delete" ;\
83 #define ITEM_FORMAT_ATTR_CHAR_FONT \
84 Identifier = SID_ATTR_CHAR_FONT ; \
85 Command = ".uno:CharFontName" ; \
86 Text [ en-US ] = "Font" ;\
88 #define ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT \
89 Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \
90 Command = ".uno:FontHeight" ; \
91 Text [ en-US ] = "Size" ;\
93 #define ITEM_FORMAT_ATTR_CHAR_WEIGHT \
94 Identifier = SID_ATTR_CHAR_WEIGHT ; \
95 Command = ".uno:Bold" ; \
96 Text [ en-US ] = "Bold" ; \
98 #define ITEM_FORMAT_ATTR_CHAR_POSTURE \
99 Identifier = SID_ATTR_CHAR_POSTURE ; \
100 Command = ".uno:Italic" ; \
101 Text [ en-US ] = "Italic" ;\
103 #define ITEM_FORMAT_ATTR_CHAR_UNDERLINE \
104 Identifier = SID_ATTR_CHAR_UNDERLINE ; \
105 Command = ".uno:Underline" ; \
106 Text [ en-US ] = "Underline" ;\
108 #define ITEM_FORMAT_ATTR_CHAR_OVERLINE \
109 Identifier = SID_ATTR_CHAR_OVERLINE ; \
110 Command = ".uno:Overline" ; \
111 Text [ en-US ] = "Overline" ;\
113 #define ITEM_FORMAT_ATTR_CHAR_STRIKEOUT \
114 Identifier = SID_ATTR_CHAR_STRIKEOUT ; \
115 Command = ".uno:Strikeout" ; \
116 Text [ en-US ] = "Strikethrough" ;\
118 #define ITEM_FORMAT_ATTR_CHAR_SHADOWED \
119 Identifier = SID_ATTR_CHAR_SHADOWED ; \
120 Command = ".uno:Shadowed" ; \
121 Text [ en-US ] = "Shadow" ;\
123 #define ITEM_FORMAT_ATTR_CHAR_CONTOUR \
124 Identifier = SID_ATTR_CHAR_CONTOUR ; \
125 Command = ".uno:OutlineFont" ; \
126 Text [ en-US ] = "Outline" ;\
128 #define ITEM_FORMAT_SET_SUPER_SCRIPT \
129 Identifier = SID_SET_SUPER_SCRIPT; \
130 Command = CMD_SID_SET_SUPER_SCRIPT; \
131 Text [ en-US ] = "Su~perscript"; \
133 #define ITEM_FORMAT_SET_SUB_SCRIPT \
134 Identifier = SID_SET_SUB_SCRIPT; \
135 Command = CMD_SID_SET_SUB_SCRIPT; \
136 Text [ en-US ] = "Su~bscript"; \
139 #define ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT \
140 Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \
141 Command = ".uno:LeftPara" ; \
142 Text [ en-US ] = "~Left" ;\
144 #define ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT \
145 Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \
146 Command = ".uno:RightPara" ; \
147 Text [ en-US ] = "~Right" ;\
149 #define ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER \
150 Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \
151 Command = ".uno:CenterPara" ; \
152 Text [ en-US ] = "~Centered" ;\
154 #define ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK \
155 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
156 Command = ".uno:JustifyPara" ; \
157 Text [ en-US ] = "Justified" ;\
159 #define ITEM_FORMAT_PARA_LINESPACE_10 \
160 Identifier = SID_ATTR_PARA_LINESPACE_10 ; \
161 Command = ".uno:SpacePara1" ; \
162 Text [ en-US ] = "Single" ;\
164 #define ITEM_FORMAT_PARA_LINESPACE_15 \
165 Identifier = SID_ATTR_PARA_LINESPACE_15 ; \
166 Command = ".uno:SpacePara15" ; \
167 Text [ en-US ] = "1.5 lines" ;\
169 #define ITEM_FORMAT_PARA_LINESPACE_20 \
170 Identifier = SID_ATTR_PARA_LINESPACE_20 ; \
171 Command = ".uno:SpacePara2" ; \
172 Text [ en-US ] = "~Double" ;\
174 #define ITEM_FORMAT_FRAME_TO_TOP \
175 Identifier = SID_FRAME_TO_TOP ; \
176 Command = ".uno:BringToFront" ; \
177 Text [ en-US ] = "~Bring to Front" ;\
179 #define ITEM_FORMAT_FRAME_TO_BOTTOM \
180 Identifier = SID_FRAME_TO_BOTTOM ; \
181 Command = ".uno:SendToBack" ; \
182 Text [ en-US ] = "~Send to Back" ;\
184 #define ITEM_FORMAT_OBJECT_ALIGN \
185 Identifier = SID_OBJECT_ALIGN ; \
186 Command = ".uno:ObjectAlign" ; \
187 Text [ en-US ] = "A~lignment" ;\
189 #define ITEM_FORMAT_OBJECT_ALIGN_LEFT \
190 Identifier = SID_OBJECT_ALIGN_LEFT ; \
191 Command = ".uno:ObjectAlignLeft" ; \
192 Text [ en-US ] = "~Left" ;\
194 #define ITEM_FORMAT_OBJECT_ALIGN_CENTER \
195 Identifier = SID_OBJECT_ALIGN_CENTER ; \
196 Command = ".uno:AlignCenter" ; \
197 Text [ en-US ] = "~Centered" ;\
199 #define ITEM_FORMAT_OBJECT_ALIGN_RIGHT \
200 Identifier = SID_OBJECT_ALIGN_RIGHT ; \
201 Command = ".uno:ObjectAlignRight" ; \
202 Text [ en-US ] = "~Right" ;\
204 #define ITEM_FORMAT_OBJECT_ALIGN_UP \
205 Identifier = SID_OBJECT_ALIGN_UP ; \
206 Command = ".uno:AlignUp" ; \
207 Text [ en-US ] = "~Top" ;\
209 #define ITEM_FORMAT_OBJECT_ALIGN_MIDDLE \
210 Identifier = SID_OBJECT_ALIGN_MIDDLE ; \
211 Command = ".uno:AlignMiddle" ; \
212 Text [ en-US ] = "C~enter" ;\
214 #define ITEM_FORMAT_OBJECT_ALIGN_DOWN \
215 Identifier = SID_OBJECT_ALIGN_DOWN ; \
216 Command = ".uno:AlignDown" ; \
217 Text [ en-US ] = "~Bottom" ;\
219 #define ITEM_FORMAT_ATTRIBUTES_LINE \
220 Identifier = SID_ATTRIBUTES_LINE ; \
221 Command = ".uno:FormatLine" ; \
222 Text [ en-US ] = "L~ine..." ;\
224 #define ITEM_FORMAT_ATTRIBUTES_AREA \
225 Identifier = SID_ATTRIBUTES_AREA ; \
226 Command = ".uno:FormatArea" ; \
227 Text [ en-US ] = "A~rea..." ;\
229 #define ITEM_FORMAT_ATTR_TRANSFORM \
230 Identifier = SID_ATTR_TRANSFORM ; \
231 Command = ".uno:TransformDialog" ; \
232 Text [ en-US ] = "Position and Si~ze..." ;\
234 #define ITEM_FORMAT_OBJECT_HEAVEN \
235 Identifier = SID_OBJECT_HEAVEN ; \
236 Command = ".uno:SetObjectToForeground" ; \
237 Text [ en-US ] = "~To Foreground" ;\
239 #define ITEM_FORMAT_OBJECT_HELL \
240 Identifier = SID_OBJECT_HELL ; \
241 Command = ".uno:SetObjectToBackground" ; \
242 Text [ en-US ] = "T~o Background" ;\
244 #define ITEM_FORMAT_BEZIER_EDIT \
245 Identifier = SID_BEZIER_EDIT ; \
246 Command = ".uno:ToggleObjectBezierMode" ; \
247 Text [ en-US ] = "Edit ~Points" ;\
250 #define ITEM_EDIT_PASTE \
251 Identifier = SID_PASTE ; \
252 Command = ".uno:Paste" ; \
253 Text [ en-US ] = "~Paste" ; \
255 #define ITEM_EDIT_IMAP \
256 Identifier = SID_IMAP ; \
257 Command = ".uno:ImageMapDialog" ; \
258 Text [ en-US ] = "ImageMap" ; \
260 #define ITEM_VIEW_ATTR_ZOOM \
261 Identifier = SID_ATTR_ZOOM ; \
262 Command = ".uno:Zoom" ; \
263 Text [ en-US ] = "~Zoom..." ; \
266 #define ITEM_FORMAT_NUMBERING \
269 Identifier = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \
270 Text [ en-US ] = "~Bullets and Numbering..." ; \
274 #define ITEM_POLY_MERGE \
277 Identifier = SID_POLY_MERGE ; \
278 Command = ".uno:Merge" ; \
279 Text [ en-US ] = "~Merge" ; \
281 #define ITEM_POLY_SUBSTRACT \
284 Identifier = SID_POLY_SUBSTRACT ; \
285 Command = ".uno:Substract" ; \
286 Text [ en-US ] = "~Subtract" ; \
288 #define ITEM_POLY_INTERSECT \
291 Identifier = SID_POLY_INTERSECT ; \
292 Command = ".uno:Intersect" ; \
293 Text [ en-US ] = "I~ntersect" ; \
296 #define MNSUB_FORMEN \
299 Identifier = SID_POLY_FORMEN ; \
300 Command = ".uno:PolyFormen" ; \
301 Text [ en-US ] = "~Shapes" ; \
307 ITEM_POLY_SUBSTRACT \
308 ITEM_POLY_INTERSECT \
314 /*------------------------------------------------------------------------
315 Beschreibung: Kontextmenues
316 ------------------------------------------------------------------------*/
318 #define ITEM_POPUP_TEMPLATE_EDIT \
319 Identifier = SID_STYLE_EDIT ; \
320 Command = ".uno:EditStyle" ; \
321 Text [ en-US ] = "Edit Paragraph Style..." ; \
323 // Gruppen-/Kombination-Funktionen
324 #define ITEM_POPUP_GROUP \
325 Identifier = SID_GROUP ; \
326 Command = ".uno:FormatGroup" ; \
327 Text [ en-US ] = "~Group" ; \
329 #define ITEM_POPUP_UNGROUP \
330 Identifier = SID_UNGROUP ; \
331 Command = ".uno:FormatUngroup" ; \
332 Text [ en-US ] = "~Ungroup" ; \
334 #define ITEM_POPUP_ENTER_GROUP \
335 Identifier = SID_ENTER_GROUP ; \
336 Command = ".uno:EnterGroup" ; \
337 Text [ en-US ] = "~Edit Group" ; \
339 #define ITEM_POPUP_LEAVE_GROUP \
340 Identifier = SID_LEAVE_GROUP ; \
341 Command = ".uno:LeaveGroup" ; \
342 Text [ en-US ] = "E~xit Group" ; \
344 #define ITEM_GROUP_MENU \
347 Identifier = SID_MN_GROUP ; \
348 Command = ".uno:GroupMenu" ; \
363 ITEM_POPUP_ENTER_GROUP\
367 ITEM_POPUP_LEAVE_GROUP\
371 Text [ en-US ] = "~Group" ; \
374 /*------------------------------------------------------------------------
375 Beschreibung: Toolbar-IDs
376 ------------------------------------------------------------------------*/
378 #define ITEM_TOOLBAR_TEMPLATE_APPLY \
379 Identifier = SID_STYLE_APPLY ; \
380 Command = ".uno:StyleApply" ; \
382 #define ITEM_TOOLBAR_ATTR_CHAR_COLOR \
383 Identifier = SID_ATTR_CHAR_COLOR ; \
384 Command = ".uno:Color" ; \
387 #define ITEM_TOOLBAR_BACKGROUND_COLOR \
388 Identifier = SID_BACKGROUND_COLOR ; \
389 Command = ".uno:BackgroundColor" ; \
392 #define ITEM_TOOLBAR_ATTR_BORDER \
393 Identifier = SID_ATTR_BORDER ; \
394 Command = ".uno:BorderStyle" ; \
396 #define ITEM_TOOLBAR_FRAME_LINESTYLE \
397 Identifier = SID_FRAME_LINESTYLE ; \
398 Command = ".uno:LineStyle" ; \
400 #define ITEM_TOOLBAR_FRAME_LINECOLOR \
401 Identifier = SID_FRAME_LINECOLOR ; \
402 Command = ".uno:FrameLineColor" ; \
404 #define ITEM_TOOLBAR_ATTR_LINEEND_STYLE \
405 Identifier = SID_ATTR_LINEEND_STYLE ; \
406 Command = ".uno:LineEndStyle" ; \
409 #define ITEM_TOOLBAR_ATTR_LINE_STYLE \
410 Identifier = SID_ATTR_LINE_STYLE ; \
411 Command = ".uno:XLineStyle" ; \
413 #define ITEM_TOOLBAR_ATTR_LINE_WIDTH \
414 Identifier = SID_ATTR_LINE_WIDTH ; \
415 Command = ".uno:LineWidth" ; \
417 #define ITEM_TOOLBAR_ATTR_LINE_COLOR \
418 Identifier = SID_ATTR_LINE_COLOR ; \
419 Command = ".uno:XLineColor" ; \
421 #define ITEM_TOOLBAR_ATTR_FILL_STYLE \
422 Identifier = SID_ATTR_FILL_STYLE ; \
423 Command = ".uno:FillStyle" ; \
425 #define ITEM_TOOLBAR_OBJECT_ROTATE \
426 Identifier = SID_OBJECT_ROTATE ; \
427 Command = ".uno:ToggleObjectRotateMode" ; \
430 #define ITEM_TRANSLITERATE_MENU\
433 Identifier = SID_MN_SUB_TRANSLITERATE ; \
434 Command = ".uno:TransliterateMenu" ; \
441 Identifier = SID_TRANSLITERATE_SENTENCE_CASE; \
442 Command = ".uno:ChangeCaseToSentenceCase" ; \
443 Text [ en-US ] = "~Sentence case";\
447 Identifier = SID_TRANSLITERATE_LOWER; \
448 Command = ".uno:ChangeCaseToLower" ; \
449 Text [ en-US ] = "~lowercase";\
453 Identifier = SID_TRANSLITERATE_UPPER ; \
454 Command = ".uno:ChangeCaseToUpper" ; \
455 Text [ en-US ] = "~UPPERCASE";\
459 Identifier = SID_TRANSLITERATE_TITLE_CASE; \
460 Command = ".uno:ChangeCaseToTitleCase" ; \
461 Text [ en-US ] = "~Capitalize Every Word";\
465 Identifier = SID_TRANSLITERATE_TOGGLE_CASE; \
466 Command = ".uno:ChangeCaseToToggleCase" ; \
467 Text [ en-US ] = "~tOGGLE cASE";\
471 Identifier = SID_TRANSLITERATE_HALFWIDTH; \
472 Command = ".uno:ChangeCaseToHalfWidth" ; \
473 Text [ en-US ] = "H~alf-width";\
477 Identifier = SID_TRANSLITERATE_FULLWIDTH; \
478 Command = ".uno:ChangeCaseToFullWidth" ; \
479 Text [ en-US ] = "Full-width";\
483 Identifier = SID_TRANSLITERATE_HIRAGANA; \
484 Command = ".uno:ChangeCaseToHiragana" ; \
485 Text [ en-US ] = "~Hiragana";\
489 Identifier = SID_TRANSLITERATE_KATAGANA; \
490 Command = ".uno:ChangeCaseToKatakana" ; \
491 Text [ en-US ] = "~Katakana";\
495 Text [ en-US ] = "~Change Case";\
498 #define ITEM_OPEN_HYPERLINK \
499 Identifier = SID_OPEN_HYPERLINK ; \
500 Command = CMD_SID_OPEN_HYPERLINK; \
501 Text [ en-US ] = "~Open Hyperlink" ; \
503 #define ITEM_OPEN_SMARTTAGMENU \
504 Identifier = SID_OPEN_SMARTTAGMENU ; \
505 Command = CMD_SID_OPEN_SMARTTAGMENU; \
506 Text [ en-US ] = "Open ~Smart Tag Menu" ; \
509 #endif // #ifndef _GLOBLMN_HRC