blob: cc0ab305b6d65520262b06fbf3dd0a76f0cc88a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _GLOBLMN_HRC
#define _GLOBLMN_HRC
/*------------------------------------------------------------------------
Menu-IDs
------------------------------------------------------------------------*/
#define ITEM_FORM_CONFIG \
Identifier = SID_FM_CONFIG ; \
Command = ".uno:Config" ; \
DropDown = TRUE ;
#define ITEM_FORM_CONTROL_PROPERTIES\
Identifier = SID_FM_CTL_PROPERTIES ; \
Command = ".uno:ControlProperties" ; \
Text [ en-US ] = "Con~trol..." ; \
#define ITEM_FORM_PROPERTIES\
Identifier = SID_FM_PROPERTIES ; \
Command = ".uno:FormProperties" ; \
Text [ en-US ] = "For~m..." ; \
#define ITEM_REPLACE_CONTROL\
Identifier = SID_FM_CHANGECONTROLTYPE ;\
Command = ".uno:ChangeControlType" ; \
Text [ en-US ] = "~Replace with"; \
#define ITEM_FORMAT_CHAR_DLG \
Identifier = SID_CHAR_DLG ; \
Command = ".uno:FontDialog" ; \
Text [ en-US ] = "C~haracter..." ;\
#define ITEM_FORMAT_PARA_DLG \
Identifier = SID_PARA_DLG ; \
Command = ".uno:ParagraphDialog" ; \
Text [ en-US ] = "P~aragraph..." ;\
#define ITEM_FORMAT_FONTWORK \
Identifier = SID_FONTWORK ; \
Command = ".uno:FontWork" ; \
Text [ en-US ] = "F~ontwork" ;\
#define ITEM_EDIT_CUT \
Identifier = SID_CUT ; \
Command = ".uno:Cut" ; \
Text [ en-US ] = "Cu~t" ;\
#define ITEM_EDIT_COPY \
Identifier = SID_COPY ; \
Command = ".uno:Copy" ; \
Text [ en-US ] = "~Copy" ;\
#define ITEM_EDIT_DELETE \
Identifier = SID_DELETE ; \
Command = ".uno:Delete" ; \
Text [ en-US ] = "~Delete" ;\
#define ITEM_FORMAT_ATTR_CHAR_FONT \
Identifier = SID_ATTR_CHAR_FONT ; \
Command = ".uno:CharFontName" ; \
Text [ en-US ] = "Font" ;\
#define ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT \
Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \
Command = ".uno:FontHeight" ; \
Text [ en-US ] = "Size" ;\
#define ITEM_FORMAT_ATTR_CHAR_WEIGHT \
Identifier = SID_ATTR_CHAR_WEIGHT ; \
Command = ".uno:Bold" ; \
Text [ en-US ] = "Bold" ; \
#define ITEM_FORMAT_ATTR_CHAR_POSTURE \
Identifier = SID_ATTR_CHAR_POSTURE ; \
Command = ".uno:Italic" ; \
Text [ en-US ] = "Italic" ;\
#define ITEM_FORMAT_ATTR_CHAR_UNDERLINE \
Identifier = SID_ATTR_CHAR_UNDERLINE ; \
Command = ".uno:Underline" ; \
Text [ en-US ] = "Underline" ;\
#define ITEM_FORMAT_ATTR_CHAR_OVERLINE \
Identifier = SID_ATTR_CHAR_OVERLINE ; \
Command = ".uno:Overline" ; \
Text [ en-US ] = "Overline" ;\
#define ITEM_FORMAT_ATTR_CHAR_STRIKEOUT \
Identifier = SID_ATTR_CHAR_STRIKEOUT ; \
Command = ".uno:Strikeout" ; \
Text [ en-US ] = "Strikethrough" ;\
#define ITEM_FORMAT_ATTR_CHAR_SHADOWED \
Identifier = SID_ATTR_CHAR_SHADOWED ; \
Command = ".uno:Shadowed" ; \
Text [ en-US ] = "Shadow" ;\
#define ITEM_FORMAT_ATTR_CHAR_CONTOUR \
Identifier = SID_ATTR_CHAR_CONTOUR ; \
Command = ".uno:OutlineFont" ; \
Text [ en-US ] = "Outline" ;\
#define ITEM_FORMAT_SET_SUPER_SCRIPT \
Identifier = SID_SET_SUPER_SCRIPT; \
Command = CMD_SID_SET_SUPER_SCRIPT; \
Text [ en-US ] = "Su~perscript"; \
#define ITEM_FORMAT_SET_SUB_SCRIPT \
Identifier = SID_SET_SUB_SCRIPT; \
Command = CMD_SID_SET_SUB_SCRIPT; \
Text [ en-US ] = "Su~bscript"; \
#define ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT \
Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \
Command = ".uno:LeftPara" ; \
Text [ en-US ] = "~Left" ;\
#define ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT \
Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \
Command = ".uno:RightPara" ; \
Text [ en-US ] = "~Right" ;\
#define ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER \
Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \
Command = ".uno:CenterPara" ; \
Text [ en-US ] = "~Centered" ;\
#define ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK \
Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
Command = ".uno:JustifyPara" ; \
Text [ en-US ] = "Justified" ;\
#define ITEM_FORMAT_PARA_LINESPACE_10 \
Identifier = SID_ATTR_PARA_LINESPACE_10 ; \
Command = ".uno:SpacePara1" ; \
Text [ en-US ] = "Single" ;\
#define ITEM_FORMAT_PARA_LINESPACE_15 \
Identifier = SID_ATTR_PARA_LINESPACE_15 ; \
Command = ".uno:SpacePara15" ; \
Text [ en-US ] = "1.5 lines" ;\
#define ITEM_FORMAT_PARA_LINESPACE_20 \
Identifier = SID_ATTR_PARA_LINESPACE_20 ; \
Command = ".uno:SpacePara2" ; \
Text [ en-US ] = "~Double" ;\
#define ITEM_FORMAT_FRAME_TO_TOP \
Identifier = SID_FRAME_TO_TOP ; \
Command = ".uno:BringToFront" ; \
Text [ en-US ] = "~Bring to Front" ;\
#define ITEM_FORMAT_FRAME_TO_BOTTOM \
Identifier = SID_FRAME_TO_BOTTOM ; \
Command = ".uno:SendToBack" ; \
Text [ en-US ] = "~Send to Back" ;\
#define ITEM_FORMAT_OBJECT_ALIGN \
Identifier = SID_OBJECT_ALIGN ; \
Command = ".uno:ObjectAlign" ; \
Text [ en-US ] = "A~lignment" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_LEFT \
Identifier = SID_OBJECT_ALIGN_LEFT ; \
Command = ".uno:ObjectAlignLeft" ; \
Text [ en-US ] = "~Left" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_CENTER \
Identifier = SID_OBJECT_ALIGN_CENTER ; \
Command = ".uno:AlignCenter" ; \
Text [ en-US ] = "~Centered" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_RIGHT \
Identifier = SID_OBJECT_ALIGN_RIGHT ; \
Command = ".uno:ObjectAlignRight" ; \
Text [ en-US ] = "~Right" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_UP \
Identifier = SID_OBJECT_ALIGN_UP ; \
Command = ".uno:AlignUp" ; \
Text [ en-US ] = "~Top" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_MIDDLE \
Identifier = SID_OBJECT_ALIGN_MIDDLE ; \
Command = ".uno:AlignMiddle" ; \
Text [ en-US ] = "C~enter" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_DOWN \
Identifier = SID_OBJECT_ALIGN_DOWN ; \
Command = ".uno:AlignDown" ; \
Text [ en-US ] = "~Bottom" ;\
#define ITEM_FORMAT_ATTRIBUTES_LINE \
Identifier = SID_ATTRIBUTES_LINE ; \
Command = ".uno:FormatLine" ; \
Text [ en-US ] = "L~ine..." ;\
#define ITEM_FORMAT_ATTRIBUTES_AREA \
Identifier = SID_ATTRIBUTES_AREA ; \
Command = ".uno:FormatArea" ; \
Text [ en-US ] = "A~rea..." ;\
#define ITEM_FORMAT_ATTR_TRANSFORM \
Identifier = SID_ATTR_TRANSFORM ; \
Command = ".uno:TransformDialog" ; \
Text [ en-US ] = "Position and Si~ze..." ;\
#define ITEM_FORMAT_OBJECT_HEAVEN \
Identifier = SID_OBJECT_HEAVEN ; \
Command = ".uno:SetObjectToForeground" ; \
Text [ en-US ] = "~To Foreground" ;\
#define ITEM_FORMAT_OBJECT_HELL \
Identifier = SID_OBJECT_HELL ; \
Command = ".uno:SetObjectToBackground" ; \
Text [ en-US ] = "T~o Background" ;\
#define ITEM_FORMAT_BEZIER_EDIT \
Identifier = SID_BEZIER_EDIT ; \
Command = ".uno:ToggleObjectBezierMode" ; \
Text [ en-US ] = "Edit ~Points" ;\
#define ITEM_EDIT_PASTE \
Identifier = SID_PASTE ; \
Command = ".uno:Paste" ; \
Text [ en-US ] = "~Paste" ; \
#define ITEM_EDIT_IMAP \
Identifier = SID_IMAP ; \
Command = ".uno:ImageMapDialog" ; \
Text [ en-US ] = "ImageMap" ; \
#define ITEM_EXTERNAL_EDIT \
Identifier = SID_EXTERNAL_EDIT ; \
Command = ".uno:ExternalEdit" ; \
Text [ en-US ] = "Edit with External Tool..." ; \
#define ITEM_COMPRESS_GRAPHIC \
Identifier = SID_COMPRESS_GRAPHIC ; \
Command = ".uno:CompressGraphic" ; \
Text [ en-US ] = "Compress Graphic..." ; \
#define ITEM_SAVE_GRAPHIC \
Identifier = SID_SAVE_GRAPHIC ; \
Command = ".uno:SaveGraphic" ; \
Text [ en-US ] = "Save Graphic..." ; \
#define ITEM_CHANGE_PICTURE \
Identifier = SID_CHANGE_PICTURE ; \
Command = ".uno:ChangePicture" ; \
Text [ en-US ] = "Change Picture..." ; \
#define ITEM_VIEW_ATTR_ZOOM \
Identifier = SID_ATTR_ZOOM ; \
Command = ".uno:Zoom" ; \
Text [ en-US ] = "~Zoom..." ; \
#define ITEM_FORMAT_NUMBERING \
MenuItem\
{\
Identifier = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \
Text [ en-US ] = "~Bullets and Numbering..." ; \
};
#define ITEM_POLY_MERGE \
MenuItem\
{\
Identifier = SID_POLY_MERGE ; \
Command = ".uno:Merge" ; \
Text [ en-US ] = "~Merge" ; \
};
#define ITEM_POLY_SUBSTRACT \
MenuItem\
{\
Identifier = SID_POLY_SUBSTRACT ; \
Command = ".uno:Substract" ; \
Text [ en-US ] = "~Subtract" ; \
};
#define ITEM_POLY_INTERSECT \
MenuItem\
{\
Identifier = SID_POLY_INTERSECT ; \
Command = ".uno:Intersect" ; \
Text [ en-US ] = "I~ntersect" ; \
};
#define MNSUB_FORMEN \
MenuItem \
{ \
Identifier = SID_POLY_FORMEN ; \
Command = ".uno:PolyFormen" ; \
Text [ en-US ] = "~Shapes" ; \
SubMenu = Menu \
{\
ItemList = \
{\
ITEM_POLY_MERGE \
ITEM_POLY_SUBSTRACT \
ITEM_POLY_INTERSECT \
};\
};\
};
/*------------------------------------------------------------------------
Context Menus
------------------------------------------------------------------------*/
#define ITEM_POPUP_TEMPLATE_EDIT \
Identifier = SID_STYLE_EDIT ; \
Command = ".uno:EditStyle" ; \
Text [ en-US ] = "Edit Paragraph Style..." ; \
// Gruppen-/Kombination-Funktionen
#define ITEM_POPUP_GROUP \
Identifier = SID_GROUP ; \
Command = ".uno:FormatGroup" ; \
Text [ en-US ] = "~Group" ; \
#define ITEM_POPUP_UNGROUP \
Identifier = SID_UNGROUP ; \
Command = ".uno:FormatUngroup" ; \
Text [ en-US ] = "~Ungroup" ; \
#define ITEM_POPUP_ENTER_GROUP \
Identifier = SID_ENTER_GROUP ; \
Command = ".uno:EnterGroup" ; \
Text [ en-US ] = "~Edit Group" ; \
#define ITEM_POPUP_LEAVE_GROUP \
Identifier = SID_LEAVE_GROUP ; \
Command = ".uno:LeaveGroup" ; \
Text [ en-US ] = "E~xit Group" ; \
#define ITEM_GROUP_MENU \
MenuItem\
{\
Identifier = SID_MN_GROUP ; \
Command = ".uno:GroupMenu" ; \
SubMenu = Menu\
{\
ItemList = \
{\
MenuItem\
{\
ITEM_POPUP_GROUP\
};\
MenuItem\
{\
ITEM_POPUP_UNGROUP\
};\
MenuItem\
{\
ITEM_POPUP_ENTER_GROUP\
};\
MenuItem\
{\
ITEM_POPUP_LEAVE_GROUP\
};\
};\
};\
Text [ en-US ] = "~Group" ; \
};
/*------------------------------------------------------------------------
Toolbar-IDs
------------------------------------------------------------------------*/
#define ITEM_TOOLBAR_TEMPLATE_APPLY \
Identifier = SID_STYLE_APPLY ; \
Command = ".uno:StyleApply" ; \
#define ITEM_TOOLBAR_ATTR_CHAR_COLOR \
Identifier = SID_ATTR_CHAR_COLOR ; \
Command = ".uno:Color" ; \
DropDown = TRUE ;
#define ITEM_TOOLBAR_BACKGROUND_COLOR \
Identifier = SID_BACKGROUND_COLOR ; \
Command = ".uno:BackgroundColor" ; \
DropDown = TRUE ;
#define ITEM_TOOLBAR_ATTR_BORDER \
Identifier = SID_ATTR_BORDER ; \
Command = ".uno:BorderStyle" ; \
#define ITEM_TOOLBAR_FRAME_LINESTYLE \
Identifier = SID_FRAME_LINESTYLE ; \
Command = ".uno:LineStyle" ; \
#define ITEM_TOOLBAR_FRAME_LINECOLOR \
Identifier = SID_FRAME_LINECOLOR ; \
Command = ".uno:FrameLineColor" ; \
#define ITEM_TOOLBAR_ATTR_LINEEND_STYLE \
Identifier = SID_ATTR_LINEEND_STYLE ; \
Command = ".uno:LineEndStyle" ; \
DropDown = TRUE ;
#define ITEM_TOOLBAR_ATTR_LINE_STYLE \
Identifier = SID_ATTR_LINE_STYLE ; \
Command = ".uno:XLineStyle" ; \
#define ITEM_TOOLBAR_ATTR_LINE_WIDTH \
Identifier = SID_ATTR_LINE_WIDTH ; \
Command = ".uno:LineWidth" ; \
#define ITEM_TOOLBAR_ATTR_LINE_COLOR \
Identifier = SID_ATTR_LINE_COLOR ; \
Command = ".uno:XLineColor" ; \
#define ITEM_TOOLBAR_ATTR_FILL_STYLE \
Identifier = SID_ATTR_FILL_STYLE ; \
Command = ".uno:FillStyle" ; \
#define ITEM_TOOLBAR_OBJECT_ROTATE \
Identifier = SID_OBJECT_ROTATE ; \
Command = ".uno:ToggleObjectRotateMode" ; \
#define ITEM_FILE_BLUETOOTH_SENDDOC \
Identifier = SID_BLUETOOTH_SENDDOC ; \
Command = ".uno:SendViaBluetooth" ; \
HelpID = SID_BLUETOOTH_SENDDOC ; \
Text [ en-US ] = "Document via ~Bluetooth..." ; \
#define ITEM_TRANSLITERATE_MENU\
MenuItem\
{\
Identifier = SID_MN_SUB_TRANSLITERATE ; \
Command = ".uno:TransliterateMenu" ; \
SubMenu = Menu\
{\
ItemList = \
{\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_SENTENCE_CASE; \
Command = ".uno:ChangeCaseToSentenceCase" ; \
Text [ en-US ] = "~Sentence case";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_LOWER; \
Command = ".uno:ChangeCaseToLower" ; \
Text [ en-US ] = "~lowercase";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_UPPER ; \
Command = ".uno:ChangeCaseToUpper" ; \
Text [ en-US ] = "~UPPERCASE";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_TITLE_CASE; \
Command = ".uno:ChangeCaseToTitleCase" ; \
Text [ en-US ] = "~Capitalize Every Word";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_TOGGLE_CASE; \
Command = ".uno:ChangeCaseToToggleCase" ; \
Text [ en-US ] = "~tOGGLE cASE";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_HALFWIDTH; \
Command = ".uno:ChangeCaseToHalfWidth" ; \
Text [ en-US ] = "H~alf-width";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_FULLWIDTH; \
Command = ".uno:ChangeCaseToFullWidth" ; \
Text [ en-US ] = "Full-width";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_HIRAGANA; \
Command = ".uno:ChangeCaseToHiragana" ; \
Text [ en-US ] = "~Hiragana";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_KATAGANA; \
Command = ".uno:ChangeCaseToKatakana" ; \
Text [ en-US ] = "~Katakana";\
};\
};\
};\
Text [ en-US ] = "~Change Case";\
};
#define ITEM_OPEN_HYPERLINK \
Identifier = SID_OPEN_HYPERLINK ; \
Command = CMD_SID_OPEN_HYPERLINK; \
Text [ en-US ] = "~Open Hyperlink" ; \
#define ITEM_OPEN_SMARTTAGMENU \
Identifier = SID_OPEN_SMARTTAGMENU ; \
Command = CMD_SID_OPEN_SMARTTAGMENU; \
Text [ en-US ] = "Open ~Smart Tag Menu" ; \
#endif // #ifndef _GLOBLMN_HRC
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|