xref: /aoo41x/main/sd/source/ui/app/menuids2_tmpl.src (revision 66220049)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#include "misc.hxx"
24
25#ifndef _MENUIDS2_SRC
26#define _MENUIDS2_SRC
27#define MI(x) 					MenuItem { x };
28#define SEPARATOR       MenuItem { Separator = TRUE; };
29 // SubMenu-IDs
30#define MN_SUB_VIEW						91
31#define MN_SUB_TOOLBAR				92
32#define MN_SUB_GRAPHIC				93
33#define MN_SUB_SPELLING				94
34#define MN_SUB_TEMPLATES			95
35#define MN_SUB_POSITION				96
36#define MN_SUB_MASTERPAGE   		97
37#define MN_SUB_SEND					98
38#define MN_SUB_FIELD				99
39#define MN_SUB_OUTPUT_QUALITY		100
40#define MN_SUB_PREVIEW_OUTPUT_QUALITY	101
41#define MN_SUB_GROUP					102
42#define MN_TEMPLATES					103
43#define MN_SUB_MASTER_LAYOUTS			104
44
45 // Windowmenu-ID (wird in globlmn.hrc gebraucht)
46#ifndef MN_WIN
47#define MN_WIN
48#endif
49 // Helpmenu-ID (wird in globlmn.hrc gebraucht)
50#ifndef MN_HELP
51#define MN_HELP
52#endif
53 //
54 // Datei-Menu
55 //
56#define MN_NEWDOCDIRECT \
57    MenuItem\
58    {\
59        Identifier = SID_NEWDOCDIRECT ; \
60        HelpId = CMD_SID_NEWDOCDIRECT ; \
61        Text [ en-US ] = "~New" ; \
62	};
63
64#define MN_EXPORTDOC \
65    MenuItem\
66    {\
67        Identifier = SID_EXPORTDOC ; \
68        HelpId = CMD_SID_EXPORTDOC ; \
69        Text [ en-US ] = "~Export..." ; \
70	};
71
72#define MN_EXPORTPDF \
73    MenuItem\
74    {\
75        Identifier = SID_EXPORTDOCASPDF ; \
76        HelpId = CMD_SID_EXPORTDOCASPDF ; \
77        Text [ en-US ] = "Export as PDF..." ; \
78	};
79
80#define MNSUB_SEND \
81    MenuItem\
82    {\
83        Identifier = MN_SUB_SEND ; \
84        HelpID = HID_MN_SUB_SEND ; \
85        Command = ".uno:SendMenu" ; \
86        Text [ en-US ] = "Sen~d" ; \
87        SubMenu = Menu\
88        {\
89            ItemList = \
90            {\
91                MI ( ITEM_FILE_MAIL_SENDDOC ) \
92				MI ( ITEM_FILE_MAIL_SENDDOCASPDF ) \
93            };\
94        };\
95	};
96
97#define MN_PAGESETUP \
98    MenuItem\
99    {\
100        Identifier = SID_PAGESETUP ; \
101        HelpId = CMD_SID_PAGESETUP ; \
102        Text [ en-US ] = "~Page..." ; \
103	};
104 //
105 // Bearbeiten-Menu
106 //
107#define MN_EDIT \
108    Identifier = 20 ; \
109    HelpID = "what a hack!" ; \
110    Command = ".uno:EditMenu"; \
111    Text [ en-US ] = "~Edit" ; \
112
113#define MN_PASTE2 \
114    MenuItem\
115    {\
116        Identifier = SID_PASTE2 ; \
117        HelpId = CMD_SID_PASTE2 ; \
118        Text [ en-US ] = "Paste ~Special..." ; \
119		};
120
121#define MN_COPYOBJECTS \
122    MenuItem\
123    {\
124        Identifier = SID_COPYOBJECTS ; \
125        HelpId = CMD_SID_COPYOBJECTS ; \
126        Text [ en-US ] = "Duplicat~e..." ; \
127	};
128
129#define MN_POLYGON_MORPHING \
130    MenuItem\
131    {\
132        Identifier = SID_POLYGON_MORPHING ; \
133        HelpId = CMD_SID_POLYGON_MORPHING ; \
134        Text [ en-US ] = "Cross-fading..." ; \
135	};
136
137#define MN_MODIFY_FIELD \
138    MenuItem\
139    {\
140        Identifier = SID_MODIFY_FIELD ; \
141        HelpId = CMD_SID_MODIFY_FIELD ; \
142        Text [ en-US ] = "F~ields..." ; \
143	};
144
145#define MN_DELETE_LAYER \
146    MenuItem\
147    {\
148        Identifier = SID_DELETE_LAYER ; \
149        HelpId = CMD_SID_DELETE_LAYER ; \
150        Text [ en-US ] = "Delete ~Layer..." ; \
151	};
152
153#define MN_MANAGE_LINKS \
154    MenuItem\
155    {\
156        Identifier = SID_MANAGE_LINKS ; \
157        HelpId = CMD_SID_MANAGE_LINKS ; \
158        Text [ en-US ] = "Lin~ks..." ; \
159	};
160 //
161 // Ansicht-Menu
162 //
163#define MN_VIEW \
164    Identifier = 23 ; \
165    HelpID = "what a hack!" ; \
166	Command = ".uno:ViewMenu" ; \
167    Text [ en-US ] = "~View" ; \
168
169#define MN_TOGGLETOOLBAR \
170    MenuItem\
171    {\
172        Identifier = SID_TOGGLETOOLBAR ; \
173        HelpId = CMD_SID_TOGGLETOOLBAR ; \
174        Text [ en-US ] = "Main ~Toolbar" ; \
175		};
176
177#define MN_TOGGLEOPTIONBAR \
178    MenuItem\
179    {\
180        Identifier = SID_TOGGLEOPTIONBAR ; \
181        HelpId = CMD_SID_TOGGLEOPTIONBAR ; \
182        Text [ en-US ] = "Optio~n Bar" ; \
183	};
184
185#define MN_TOGGLECOMMONTASKBAR \
186    MenuItem\
187    {\
188        Identifier = SID_TOGGLECOMMONTASKBAR ; \
189        HelpId = CMD_SID_TOGGLECOMMONTASKBAR ; \
190        Text [ en-US ] = "~Presentation" ; \
191	};
192
193#define MN_CUSTOMIZETOOLBOX \
194    MenuItem\
195    {\
196        Identifier = SID_CUSTOMIZETOOLBOX ; \
197        HelpId = CMD_SID_CUSTOMIZETOOLBOX ; \
198        Text [ en-US ] = "Customi~ze..." ; \
199	};
200
201#define MN_RULER \
202    MenuItem\
203    {\
204        Identifier = SID_RULER ; \
205        HelpId = CMD_SID_RULER ; \
206        Command = ".uno:ShowRuler" ; \
207        Text [ en-US ] = "~Rulers" ; \
208	};
209
210/* ### ACHTUNG: Neuer Text in Resource! */
211#define MN_NOTESMODE \
212    MenuItem\
213    {\
214        Identifier = SID_NOTESMODE ; \
215        HelpId = CMD_SID_NOTESMODE ; \
216        Check = TRUE ; \
217        Text [ en-US ] = "~Notes View" ; \
218	};
219
220/* ### ACHTUNG: Neuer Text in Resource! */
221#define MN_HANDOUTMODE \
222    MenuItem\
223    {\
224        Identifier = SID_HANDOUTMODE ; \
225        HelpId = CMD_SID_HANDOUTMODE ; \
226        Check = TRUE ; \
227        Text [ en-US ] = "~Handout View" ; \
228	};
229
230#define MN_PREVIEW_WIN \
231    MenuItem\
232    {\
233        Identifier = SID_PREVIEW_WIN ; \
234        HelpId = CMD_SID_PREVIEW_WIN ; \
235        Text [ en-US ] = "~Preview" ; \
236	};
237
238#define MN_PAGEMODE \
239    MenuItem\
240    {\
241        Identifier = SID_PAGEMODE ; \
242        HelpId = CMD_SID_PAGEMODE ; \
243        Check = TRUE ; \
244        Text [ en-US ] = "S~lide" ; \
245	};
246
247#define MN_SLIDE_MASTERPAGE \
248    MenuItem\
249    {\
250        Identifier = SID_SLIDE_MASTERPAGE ; \
251        HelpId = CMD_SID_SLIDE_MASTERPAGE ; \
252        Check = TRUE ; \
253        Text [ en-US ] = "~Slide Master" ; \
254	};
255
256#define MN_TITLE_MASTERPAGE \
257    MenuItem\
258    {\
259        Identifier = SID_TITLE_MASTERPAGE ; \
260        HelpId = CMD_SID_TITLE_MASTERPAGE ; \
261        Check = TRUE ; \
262        Text [ en-US ] = "~Title" ; \
263	};
264
265#define MN_NOTES_MASTERPAGE \
266    MenuItem\
267    {\
268        Identifier = SID_NOTES_MASTERPAGE ; \
269        HelpId = CMD_SID_NOTES_MASTERPAGE ; \
270        Check = TRUE ; \
271        Text [ en-US ] = "~Notes" ; \
272	};
273
274#define MN_HANDOUT_MASTERPAGE \
275    MenuItem\
276    {\
277        Identifier = SID_HANDOUT_MASTERPAGE ; \
278        HelpId = CMD_SID_HANDOUT_MASTERPAGE ; \
279        Check = TRUE ; \
280        Text [ en-US ] = "~Handout" ; \
281	};
282
283#define MN_LAYERMODE \
284    MenuItem\
285    {\
286        Identifier = SID_LAYERMODE ; \
287        HelpId = CMD_SID_LAYERMODE ; \
288        Check = TRUE ; \
289        Text [ en-US ] = "La~yer" ; \
290	};
291
292#define MN_HEADERANDFOOTER \
293    MenuItem\
294    {\
295        Identifier = SID_HEADER_AND_FOOTER ; \
296        HelpId = CMD_SID_HEADER_AND_FOOTER ; \
297        Text = "Kopf- und Fu�zeile.."; \
298	};
299
300#define MN_INSERT_PAGE_NUMBER \
301    MenuItem\
302    {\
303        Identifier = SID_INSERT_PAGE_NUMBER ; \
304        HelpId = CMD_SID_INSERT_PAGE_NUMBER ; \
305        Text = "Seitenzahl..." ; \
306	};
307
308#define MN_INSERT_DATE_AND_TIME \
309    MenuItem\
310    {\
311        Identifier = SID_INSERT_DATE_TIME ; \
312        HelpId = CMD_SID_INSERT_DATE_TIME ; \
313        Text = "Datum und Uhrzeit..." ; \
314	};
315
316#define MN_MASTER_LAYOUTS \
317	MenuItem\
318	{\
319		Identifier = MN_SUB_MASTER_LAYOUTS ; \
320		HelpId = HID_MN_SUB_MASTER_LAYOUTS; \
321		Text = "Masterlayouts";\
322		SubMenu = Menu\
323		{\
324			ItemList = \
325			{\
326				MenuItem\
327				{\
328					Identifier = SID_MASTER_LAYOUTS_SLIDE ; \
329					HelpId = CMD_SID_MASTER_LAYOUTS_SLIDE ; \
330					Text = "Masterlayout..." ; \
331				};\
332				MenuItem\
333				{\
334					Identifier = SID_MASTER_LAYOUTS_NOTES ; \
335					HelpId = CMD_SID_MASTER_LAYOUTS_NOTES ; \
336					Text = "Notizenmasterlayout..." ; \
337				};\
338				MenuItem\
339				{\
340					Identifier = SID_MASTER_LAYOUTS_HANDOUTS ; \
341					HelpId = CMD_SID_MASTER_LAYOUTS_HANDOUTS ; \
342					Text = "Handzettelmasterlayout..." ; \
343				};\
344			};\
345		};\
346	};
347
348 //#define MNSUB_TOOLBAR \ -> menu.src
349#define MNSUB_VIEW \
350    MenuItem\
351    {\
352        Identifier = MN_SUB_VIEW ; \
353        HelpID = HID_MN_SUB_VIEW ; \
354        Command = ".uno:WorkspaceMenu" ; \
355        Text [ en-US ] = "Wor~kspace" ; \
356        SubMenu = Menu\
357        {\
358            ItemList = \
359            {\
360                MN_DRAWINGMODE\
361                MN_OUTLINEMODE\
362                MN_DIAMODE\
363                MN_NOTESMODE\
364                MN_HANDOUTMODE\
365            };\
366        };\
367	};
368
369#define MNSUB_MASTERPAGE \
370    MenuItem\
371    {\
372        Identifier = MN_SUB_MASTERPAGE ; \
373        HelpID = HID_MN_SUB_MASTERPAGE ; \
374        Command = ".uno:MasterPageMenu" ; \
375        Text [ en-US ] = "~Master" ; \
376        SubMenu = Menu\
377        {\
378            ItemList = \
379            {\
380                MN_SLIDE_MASTERPAGE\
381                MN_TITLE_MASTERPAGE\
382                MN_NOTES_MASTERPAGE\
383                MN_HANDOUT_MASTERPAGE\
384            };\
385        };\
386	};
387 //
388 // Einfuegen-Menu
389 //
390#define MN_INSERT \
391    Identifier = 21 ; \
392    HelpID = "what a hack" ; \
393    Command = ".uno:InsertMenu" ; \
394    Text [ en-US ] = "~Insert" ; \
395
396#define MN_INSERTPAGE \
397    MenuItem\
398    {\
399        Identifier = SID_INSERTPAGE ; \
400        HelpId = CMD_SID_INSERTPAGE ; \
401        Text [ en-US ] = "Slid~e..." ; \
402		};
403
404#define MN_INSERTPAGE_DRAW \
405    MenuItem\
406    {\
407        Identifier = SID_INSERTPAGE ; \
408        HelpId = CMD_SID_INSERTPAGE ; \
409        Text [ en-US ] = "Slid~e" ; \
410	};
411
412#define MN_DUPLICATE_PAGE \
413    MenuItem\
414    {\
415        Identifier = SID_DUPLICATE_PAGE ; \
416        HelpId = CMD_SID_DUPLICATE_PAGE ; \
417        Text [ en-US ] = "D~uplicate Slide" ; \
418	};
419
420#define MN_EXPAND_PAGE \
421    MenuItem\
422    {\
423        Identifier = SID_EXPAND_PAGE ; \
424        HelpId = CMD_SID_EXPAND_PAGE ; \
425        Text [ en-US ] = "E~xpand Slide" ; \
426	};
427
428#define MN_SUMMARY_PAGE \
429    MenuItem\
430    {\
431        Identifier = SID_SUMMARY_PAGE ; \
432        HelpId = CMD_SID_SUMMARY_PAGE ; \
433        Text [ en-US ] = "Su~mmary Slide" ; \
434	};
435
436#define MN_INSERTLAYER \
437    MenuItem\
438    {\
439        Identifier = SID_INSERTLAYER ; \
440        HelpId = CMD_SID_INSERTLAYER ; \
441        Text [ en-US ] = "~Layer..." ; \
442	};
443
444#define MN_INSERT_FLD_DATE_FIX \
445    MenuItem\
446    {\
447        Identifier = SID_INSERT_FLD_DATE_FIX ; \
448        HelpId = CMD_SID_INSERT_FLD_DATE_FIX ; \
449        Text [ en-US ] = "~Date (fixed)" ; \
450	};
451
452#define MN_INSERT_FLD_DATE_VAR \
453    MenuItem\
454    {\
455        Identifier = SID_INSERT_FLD_DATE_VAR ; \
456        HelpId = CMD_SID_INSERT_FLD_DATE_VAR ; \
457        Text [ en-US ] = "Dat~e (variable)" ; \
458	};
459
460#define MN_INSERT_FLD_TIME_FIX \
461    MenuItem\
462    {\
463        Identifier = SID_INSERT_FLD_TIME_FIX ; \
464        HelpId = CMD_SID_INSERT_FLD_TIME_FIX ; \
465        Text [ en-US ] = "~Time (fixed)" ; \
466	};
467
468#define MN_INSERT_FLD_TIME_VAR \
469    MenuItem\
470    {\
471        Identifier = SID_INSERT_FLD_TIME_VAR ; \
472        HelpId = CMD_SID_INSERT_FLD_TIME_VAR ; \
473        Text [ en-US ] = "T~ime (variable)" ; \
474	};
475
476#define MN_INSERT_FLD_PAGE \
477    MenuItem\
478    {\
479        Identifier = SID_INSERT_FLD_PAGE ; \
480        HelpId = CMD_SID_INSERT_FLD_PAGE ; \
481        Text [ en-US ] = "~Page Number" ; \
482	};
483
484#define MN_INSERT_FLD_FILE \
485    MenuItem\
486    {\
487        Identifier = SID_INSERT_FLD_FILE ; \
488        HelpId = CMD_SID_INSERT_FLD_FILE ; \
489        Text [ en-US ] = "~File Name" ; \
490	};
491
492#define MN_INSERT_FLD_AUTHOR \
493    MenuItem\
494    {\
495        Identifier = SID_INSERT_FLD_AUTHOR ; \
496        HelpId = CMD_SID_INSERT_FLD_AUTHOR ; \
497        Text [ en-US ] = "~Author" ; \
498	};
499
500#define MN_TWAIN_SELECT \
501    MenuItem\
502    {\
503        Identifier = SID_TWAIN_SELECT ; \
504        HelpId = CMD_SID_TWAIN_SELECT ; \
505        Text [ en-US ] = "~Select Source..." ; \
506	};
507
508#define MN_TWAIN_TRANSFER \
509    MenuItem\
510    {\
511        Identifier = SID_TWAIN_TRANSFER ; \
512        HelpId = CMD_SID_TWAIN_TRANSFER ; \
513        Text [ en-US ] = "~Request..." ; \
514	};
515
516#define MN_ATTR_TABLE \
517    MenuItem\
518    {\
519        Identifier = SID_ATTR_TABLE ; \
520        HelpId = CMD_SID_ATTR_TABLE ; \
521        Text [ en-US ] = "Sp~readsheet" ; \
522	};
523
524#define MN_INSERT_INSERT_GRAPHIC \
525    MenuItem\
526    {\
527        ITEM_INSERT_INSERT_GRAPHIC\
528        Text [ en-US ] = "From ~File..." ; \
529	};
530
531#define MN_INSERT_INSERT_DIAGRAM \
532    MenuItem\
533    {\
534	    Identifier = SID_INSERT_DIAGRAM ; \
535	    HelpId = CMD_SID_INSERT_DIAGRAM ; \
536		Text [ en-US ] = "Chart" ; \
537	};
538
539#define MN_INSERT_FLOATINGFRAME \
540    MenuItem\
541    {\
542        Identifier = SID_INSERT_FLOATINGFRAME ; \
543        HelpId = CMD_SID_INSERT_FLOATINGFRAME ; \
544        Text [ en-US ] = "Float~ing Frame..." ; \
545	};
546
547#define MN_INSERTFILE \
548    MenuItem\
549    {\
550        Identifier = SID_INSERTFILE ; \
551        HelpId = CMD_SID_INSERTFILE ; \
552        Text [ en-US ] = "~File..." ; \
553	};
554
555#define MNSUB_FIELD \
556    MenuItem\
557    {\
558        Identifier = MN_SUB_FIELD ; \
559        HelpID = HID_MN_SUB_FIELD ; \
560        Command = ".uno:FieldMenu" ; \
561        Text [ en-US ] = "Fiel~ds" ; \
562        SubMenu = Menu\
563        {\
564            ItemList = \
565            {\
566                MN_INSERT_FLD_DATE_FIX\
567                MN_INSERT_FLD_DATE_VAR\
568                MN_INSERT_FLD_TIME_FIX\
569                MN_INSERT_FLD_TIME_VAR\
570                SEPARATOR\
571                MN_INSERT_FLD_AUTHOR\
572                MN_INSERT_FLD_PAGE\
573                MN_INSERT_FLD_FILE\
574            };\
575        };\
576	};
577
578#define MNSUB_SCAN \
579	ITEM_INSERT_TWAIN_MENU
580
581#define MNSUB_GRAPHIC \
582    MenuItem\
583    {\
584		ITEM_INSERT_INSERT_GRAPHIC \
585	};
586
587
588 //
589 // Format-Menu
590 //
591#define MN_FORMAT \
592    Identifier = 22 ; \
593    HelpID = "what a hack!" ; \
594    Command = ".uno:FormatMenu" ; \
595    Text [ en-US ] = "F~ormat" ; \
596
597#define MN_TEXTATTR_DLG \
598    MenuItem\
599    {\
600        Identifier = SID_TEXTATTR_DLG ; \
601        HelpId = CMD_SID_TEXTATTR_DLG ; \
602        Text [ en-US ] = "Te~xt..." ; \
603	};
604
605#define MN_MEASURE_DLG \
606    MenuItem\
607    {\
608        Identifier = SID_MEASURE_DLG ; \
609        HelpId = CMD_SID_MEASURE_DLG ; \
610        Text [ en-US ] = "Dimen~sions..." ; \
611	};
612
613#define MN_CONNECTION_DLG \
614    MenuItem\
615    {\
616        Identifier = SID_CONNECTION_DLG ; \
617        HelpId = CMD_SID_CONNECTION_DLG ; \
618        Text [ en-US ] = "~Connector..." ; \
619	};
620
621#define MN_MODIFYLAYER \
622    MenuItem\
623    {\
624        Identifier = SID_MODIFYLAYER ; \
625        HelpId = CMD_SID_MODIFYLAYER ; \
626        Text [ en-US ] = "~Layer..." ; \
627	};
628
629 // Seiten-Attribute
630#define MN_MODIFYPAGE \
631    MenuItem\
632    {\
633        Identifier = SID_MODIFYPAGE ; \
634        HelpId = CMD_SID_MODIFYPAGE ; \
635        Text [ en-US ] = "Modify ~Layout..." ; \
636	};
637
638#define MNSUB_TEMPLATES \
639    MenuItem\
640    {\
641        Identifier = MN_SUB_TEMPLATES ; \
642        HelpID = HID_MN_SUB_TEMPLATES ; \
643        Command = ".uno:TemplatesMenu" ; \
644        Text [ en-US ] = "Styl~es" ; \
645        SubMenu = Menu\
646        {\
647            ItemList = \
648            {\
649                MI ( ITEM_FORMAT_TEMPLATECATALOG ) \
650                MN_PRESENTATION_LAYOUT\
651            };\
652        };\
653	};
654
655 //
656 // Extras-Menu
657 //
658#define MN_EXTRAS \
659    Identifier = ITEM_TOOLS_ID ; \
660    HelpID = "what a hack!" ; \
661    Command = ".uno:ToolsMenu" ; \
662    Text [ en-US ] = "~Tools" ; \
663
664 //
665 // Praesentations-Menu
666 //
667/* ### ACHTUNG: Neuer Text in Resource! */
668#define MN_SLIDESHOW \
669    Identifier = 26 ; \
670    HelpID = "what a hack!" ; \
671    Command = ".uno:SlideShowMenu" ; \
672    Text [ en-US ] = "~Slide Show" ; \
673
674#define MN_SPELLING \
675    MenuItem\
676    {\
677        Identifier = SID_SPELL_DIALOG ; \
678        HelpId = CMD_SID_SPELL_DIALOG ; \
679        Text [ en-US ] = "~Check..." ; \
680	};
681
682#define MN_AUTOSPELL_CHECK \
683    MenuItem\
684    {\
685        Identifier = SID_AUTOSPELL_CHECK ; \
686        HelpId = CMD_SID_AUTOSPELL_CHECK ; \
687        Text [ en-US ] = "~AutoSpellcheck" ; \
688	};
689
690#define MN_THESAURUS \
691    MenuItem\
692    {\
693        Identifier = SID_THESAURUS ; \
694        HelpId = CMD_SID_THESAURUS ; \
695        Text [ en-US ] = "~Thesaurus..." ; \
696	};
697
698#define MN_HYPHENATION \
699    MenuItem\
700    {\
701        Identifier = SID_HYPHENATION ; \
702        HelpId = CMD_SID_HYPHENATION ; \
703        Text [ en-US ] = "~Hyphenation" ; \
704	};
705
706#define MN_AUTO_CORRECT_DLG \
707    MenuItem\
708    {\
709        Identifier = SID_AUTO_CORRECT_DLG ; \
710        HelpId = CMD_SID_AUTO_CORRECT_DLG ; \
711        Text [ en-US ] = "~AutoCorrect..." ; \
712	};
713
714/* ### ACHTUNG: Neuer Text in Resource! */
715#define MN_PRESENTATION_DLG \
716    MenuItem\
717    {\
718        Identifier = SID_PRESENTATION_DLG ; \
719        HelpId = CMD_SID_PRESENTATION_DLG ; \
720        Text [ en-US ] = "~Slide Show Settings..." ; \
721	};
722
723/* ### ACHTUNG: Neuer Text in Resource! */
724#define MN_CUSTOMSHOW_DLG \
725    MenuItem\
726    {\
727        Identifier = SID_CUSTOMSHOW_DLG ; \
728        HelpId = CMD_SID_CUSTOMSHOW_DLG ; \
729        Text [ en-US ] = "~Custom Slide Show..." ; \
730	};
731
732#define MN_ANIMATION_OBJECTS \
733    MenuItem\
734    {\
735        Identifier = SID_ANIMATION_OBJECTS ; \
736        HelpId = CMD_SID_ANIMATION_OBJECTS ; \
737        Text [ en-US ] = "~Animation" ; \
738	};
739
740#define MN_ANIMATION_EFFECTS \
741    MenuItem\
742    {\
743        Identifier = SID_ANIMATION_EFFECTS ; \
744        HelpId = CMD_SID_ANIMATION_EFFECTS ; \
745        Text [ en-US ] = "~Interaction..." ; \
746	};
747
748#define MNSUB_SPELLING \
749    MenuItem\
750    {\
751        Identifier = MN_SUB_SPELLING ; \
752        HelpID = HID_MN_SUB_SPELLING ; \
753        Command = ".uno:SpellingMenu" ; \
754        Text [ en-US ] = "~Spellcheck" ; \
755        SubMenu = Menu\
756        {\
757            ItemList = \
758            {\
759                MN_SPELLING\
760                MN_AUTOSPELL_CHECK\
761            };\
762        };\
763	};
764 //
765 // Aendern-Menu
766 //
767#define MN_MODIFY \
768    Identifier = 24 ; \
769    HelpID = "what a hack!" ; \
770    Command = ".uno:ModifyMenu" ; \
771    Text [ en-US ] = "~Modify" ; \
772
773#define MN_MOREFRONT \
774    MenuItem\
775    {\
776        Identifier = SID_MOREFRONT ; \
777        HelpId = CMD_SID_MOREFRONT ; \
778        Text [ en-US ] = "Bring ~Forward" ; \
779		};
780
781#define MN_MOREBACK \
782    MenuItem\
783    {\
784        Identifier = SID_MOREBACK ; \
785        HelpId = CMD_SID_MOREBACK ; \
786        Text [ en-US ] = "Send Back~ward" ; \
787	};
788
789#define MN_BEFORE_OBJ \
790    MenuItem\
791    {\
792        Identifier = SID_BEFORE_OBJ ; \
793        HelpId = CMD_SID_BEFORE_OBJ ; \
794        Text [ en-US ] = "In Front of ~Object" ; \
795	};
796
797#define MN_BEHIND_OBJ \
798    MenuItem\
799    {\
800        Identifier = SID_BEHIND_OBJ ; \
801        HelpId = CMD_SID_BEHIND_OBJ ; \
802        Text [ en-US ] = "Be~hind Object" ; \
803	};
804
805#define MN_REVERSE_ORDER \
806    MenuItem\
807    {\
808        Identifier = SID_REVERSE_ORDER ; \
809        HelpId = CMD_SID_REVERSE_ORDER ; \
810        Text [ en-US ] = "~Reverse" ; \
811	};
812
813#define MN_BMPMASK \
814    MenuItem\
815    {\
816        Identifier = SID_BMPMASK ; \
817        HelpId = CMD_SID_BMPMASK ; \
818        Text [ en-US ] = "~Eyedropper" ; \
819	};
820
821#define MN_GALLERY \
822    MenuItem\
823    {\
824        Identifier = SID_GALLERY; \
825        HelpId = CMD_SID_GALLERY; \
826        Text [ en-US ] = "~Gallery" ; \
827	};
828
829#define MN_OUTPUT_QUALITY_COLOR \
830    MenuItem\
831    {\
832        Identifier = SID_OUTPUT_QUALITY_COLOR ; \
833        HelpId = CMD_SID_OUTPUT_QUALITY_COLOR ; \
834        RadioCheck = TRUE ; \
835        Text [ en-US ] = "~Color" ; \
836	};
837
838#define MN_OUTPUT_QUALITY_GRAYSCALE \
839    MenuItem\
840    {\
841        Identifier = SID_OUTPUT_QUALITY_GRAYSCALE ; \
842        HelpId = CMD_SID_OUTPUT_QUALITY_GRAYSCALE ; \
843        RadioCheck = TRUE ; \
844        Text [ en-US ] = "~Grayscale" ; \
845	};
846
847#define MN_OUTPUT_QUALITY_BLACKWHITE \
848    MenuItem\
849    {\
850        Identifier = SID_OUTPUT_QUALITY_BLACKWHITE ; \
851        HelpId = CMD_SID_OUTPUT_QUALITY_BLACKWHITE ; \
852        RadioCheck = TRUE ; \
853        Text [ en-US ] = "~Black and White" ; \
854	};
855
856#define MN_OUTPUT_QUALITY_CONTRAST \
857    MenuItem\
858    {\
859        Identifier = SID_OUTPUT_QUALITY_CONTRAST ; \
860        HelpId = CMD_SID_OUTPUT_QUALITY_CONTRAST ; \
861        RadioCheck = TRUE ; \
862		Text [ en-US ] = "~High Contrast";\
863	};
864
865#define MN_PREVIEW_QUALITY_COLOR \
866    MenuItem\
867    {\
868        Identifier = SID_PREVIEW_QUALITY_COLOR ; \
869        HelpId = CMD_SID_PREVIEW_QUALITY_COLOR ; \
870        RadioCheck = TRUE ; \
871        Text [ en-US ] = "~Color" ; \
872	};
873
874#define MN_PREVIEW_QUALITY_GRAYSCALE \
875    MenuItem\
876    {\
877        Identifier = SID_PREVIEW_QUALITY_GRAYSCALE ; \
878        HelpId = CMD_SID_PREVIEW_QUALITY_GRAYSCALE ; \
879        RadioCheck = TRUE ; \
880        Text [ en-US ] = "~Grayscale" ; \
881	};
882
883#define MN_PREVIEW_QUALITY_BLACKWHITE \
884    MenuItem\
885    {\
886        Identifier = SID_PREVIEW_QUALITY_BLACKWHITE ; \
887        HelpId = CMD_SID_PREVIEW_QUALITY_BLACKWHITE ; \
888        RadioCheck = TRUE ; \
889        Text [ en-US ] = "~Black and White" ; \
890	};
891
892#define MN_PREVIEW_QUALITY_CONTRAST \
893    MenuItem\
894    {\
895        Identifier = SID_PREVIEW_QUALITY_CONTRAST ; \
896        HelpId = CMD_SID_PREVIEW_QUALITY_CONTRAST ; \
897        RadioCheck = TRUE ; \
898		Text [ en-US ] = "~High Contrast";\
899	};
900
901#define MNSUB_POSITION \
902    MenuItem\
903    {\
904        Identifier = MN_SUB_POSITION ; \
905        HelpID = HID_MN_SUB_POSITION ; \
906        Command = ".uno:ArrangeMenu" ; \
907        Text [ en-US ] = "~Arrange" ; \
908        SubMenu = Menu\
909        {\
910            ItemList = \
911            {\
912                MI ( ITEM_FORMAT_FRAME_TO_TOP ) \
913                MN_MOREFRONT\
914                MN_MOREBACK\
915                MI ( ITEM_FORMAT_FRAME_TO_BOTTOM ) \
916                SEPARATOR\
917                MN_BEFORE_OBJ\
918                MN_BEHIND_OBJ\
919                SEPARATOR\
920                MN_REVERSE_ORDER\
921            };\
922        };\
923	};
924
925#define MNSUB_OBJECT_ALIGN \
926    MenuItem\
927    {\
928        ITEM_FORMAT_OBJECT_ALIGN\
929        SubMenu = Menu\
930        {\
931            ItemList = \
932            {\
933                MI ( ITEM_FORMAT_OBJECT_ALIGN_LEFT ) \
934                MI ( ITEM_FORMAT_OBJECT_ALIGN_CENTER ) \
935                MI ( ITEM_FORMAT_OBJECT_ALIGN_RIGHT ) \
936                SEPARATOR\
937                MI ( ITEM_FORMAT_OBJECT_ALIGN_UP ) \
938                MI ( ITEM_FORMAT_OBJECT_ALIGN_MIDDLE ) \
939                MI ( ITEM_FORMAT_OBJECT_ALIGN_DOWN ) \
940            };\
941        };\
942    };
943
944#define MNSUB_OUTPUT_QUALITY \
945    MenuItem\
946    {\
947        Identifier = MN_SUB_OUTPUT_QUALITY ; \
948        HelpID = HID_MN_SUB_OUTPUT_QUALITY ; \
949        Command = ".uno:DisplayQualityMenu" ; \
950        SubMenu = Menu\
951        {\
952            ItemList = \
953            {\
954                MN_OUTPUT_QUALITY_COLOR\
955                MN_OUTPUT_QUALITY_GRAYSCALE\
956                MN_OUTPUT_QUALITY_BLACKWHITE\
957                MN_OUTPUT_QUALITY_CONTRAST\
958            };\
959        };\
960        Text [ en-US ] = "~Display Quality" ; \
961	};
962
963#define MNSUB_PREVIEW_OUTPUT_QUALITY \
964    MenuItem\
965    {\
966        Identifier = MN_SUB_PREVIEW_OUTPUT_QUALITY ; \
967        HelpID = HID_MN_SUB_PREVIEW_OUTPUT_QUALITY ; \
968        Command = ".uno:PreviewDisplayQualityMenu" ; \
969        SubMenu = Menu\
970        {\
971            ItemList = \
972            {\
973                MN_PREVIEW_QUALITY_COLOR\
974                MN_PREVIEW_QUALITY_GRAYSCALE\
975                MN_PREVIEW_QUALITY_BLACKWHITE\
976                MN_PREVIEW_QUALITY_CONTRAST\
977            };\
978        };\
979        Text [ en-US ] = "Pre~view Mode" ; \
980	};
981
982#endif // _MENUIDS2_SRC
983
984