summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/menuids2_tmpl.src
blob: c2ca31eb19d807afd00b60d8bd0c154d4608ec12 (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
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
/**************************************************************
 *
 * 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
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 *************************************************************/


#include "misc.hxx"

#ifndef _MENUIDS2_SRC
#define _MENUIDS2_SRC
#define MI(x)                   MenuItem { x };
#define SEPARATOR       MenuItem { Separator = TRUE; };
 // SubMenu-IDs
#define MN_SUB_VIEW                     91
#define MN_SUB_TOOLBAR              92
#define MN_SUB_GRAPHIC              93
#define MN_SUB_SPELLING             94
#define MN_SUB_TEMPLATES            95
#define MN_SUB_POSITION             96
#define MN_SUB_MASTERPAGE           97
#define MN_SUB_SEND                 98
#define MN_SUB_FIELD                99
#define MN_SUB_OUTPUT_QUALITY       100
#define MN_SUB_PREVIEW_OUTPUT_QUALITY   101
#define MN_SUB_GROUP                    102
#define MN_TEMPLATES                    103
#define MN_SUB_MASTER_LAYOUTS           104

 // Windowmenu-ID (wird in globlmn.hrc gebraucht)
#ifndef MN_WIN
#define MN_WIN
#endif
 // Helpmenu-ID (wird in globlmn.hrc gebraucht)
#ifndef MN_HELP
#define MN_HELP
#endif
 //
 // Datei-Menu
 //
#define MN_NEWDOCDIRECT \
    MenuItem\
    {\
        Identifier = SID_NEWDOCDIRECT ; \
        HelpId = CMD_SID_NEWDOCDIRECT ; \
        Text [ en-US ] = "~New" ; \
    };

#define MN_EXPORTDOC \
    MenuItem\
    {\
        Identifier = SID_EXPORTDOC ; \
        HelpId = CMD_SID_EXPORTDOC ; \
        Text [ en-US ] = "~Export..." ; \
    };

#define MN_EXPORTPDF \
    MenuItem\
    {\
        Identifier = SID_EXPORTDOCASPDF ; \
        HelpId = CMD_SID_EXPORTDOCASPDF ; \
        Text [ en-US ] = "Export as PDF..." ; \
    };

#define MNSUB_SEND \
    MenuItem\
    {\
        Identifier = MN_SUB_SEND ; \
        HelpID = HID_MN_SUB_SEND ; \
        Command = ".uno:SendMenu" ; \
        Text [ en-US ] = "Sen~d" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MI ( ITEM_FILE_MAIL_SENDDOC ) \
                MI ( ITEM_FILE_MAIL_SENDDOCASPDF ) \
            };\
        };\
    };

#define MN_PAGESETUP \
    MenuItem\
    {\
        Identifier = SID_PAGESETUP ; \
        HelpId = CMD_SID_PAGESETUP ; \
        Text [ en-US ] = "~Page..." ; \
    };
 //
 // Bearbeiten-Menu
 //
#define MN_EDIT \
    Identifier = 20 ; \
    HelpID = "what a hack!" ; \
    Command = ".uno:EditMenu"; \
    Text [ en-US ] = "~Edit" ; \

#define MN_PASTE2 \
    MenuItem\
    {\
        Identifier = SID_PASTE2 ; \
        HelpId = CMD_SID_PASTE2 ; \
        Text [ en-US ] = "Paste ~Special..." ; \
        };

#define MN_COPYOBJECTS \
    MenuItem\
    {\
        Identifier = SID_COPYOBJECTS ; \
        HelpId = CMD_SID_COPYOBJECTS ; \
        Text [ en-US ] = "Duplicat~e..." ; \
    };

#define MN_POLYGON_MORPHING \
    MenuItem\
    {\
        Identifier = SID_POLYGON_MORPHING ; \
        HelpId = CMD_SID_POLYGON_MORPHING ; \
        Text [ en-US ] = "Cross-fading..." ; \
    };

#define MN_MODIFY_FIELD \
    MenuItem\
    {\
        Identifier = SID_MODIFY_FIELD ; \
        HelpId = CMD_SID_MODIFY_FIELD ; \
        Text [ en-US ] = "F~ields..." ; \
    };

#define MN_DELETE_LAYER \
    MenuItem\
    {\
        Identifier = SID_DELETE_LAYER ; \
        HelpId = CMD_SID_DELETE_LAYER ; \
        Text [ en-US ] = "Delete ~Layer..." ; \
    };

#define MN_MANAGE_LINKS \
    MenuItem\
    {\
        Identifier = SID_MANAGE_LINKS ; \
        HelpId = CMD_SID_MANAGE_LINKS ; \
        Text [ en-US ] = "Lin~ks..." ; \
    };
 //
 // Ansicht-Menu
 //
#define MN_VIEW \
    Identifier = 23 ; \
    HelpID = "what a hack!" ; \
    Command = ".uno:ViewMenu" ; \
    Text [ en-US ] = "~View" ; \

#define MN_TOGGLETOOLBAR \
    MenuItem\
    {\
        Identifier = SID_TOGGLETOOLBAR ; \
        HelpId = CMD_SID_TOGGLETOOLBAR ; \
        Text [ en-US ] = "Main ~Toolbar" ; \
        };

#define MN_TOGGLEOPTIONBAR \
    MenuItem\
    {\
        Identifier = SID_TOGGLEOPTIONBAR ; \
        HelpId = CMD_SID_TOGGLEOPTIONBAR ; \
        Text [ en-US ] = "Optio~n Bar" ; \
    };

#define MN_TOGGLECOMMONTASKBAR \
    MenuItem\
    {\
        Identifier = SID_TOGGLECOMMONTASKBAR ; \
        HelpId = CMD_SID_TOGGLECOMMONTASKBAR ; \
        Text [ en-US ] = "~Presentation" ; \
    };

#define MN_CUSTOMIZETOOLBOX \
    MenuItem\
    {\
        Identifier = SID_CUSTOMIZETOOLBOX ; \
        HelpId = CMD_SID_CUSTOMIZETOOLBOX ; \
        Text [ en-US ] = "Customi~ze..." ; \
    };

#define MN_RULER \
    MenuItem\
    {\
        Identifier = SID_RULER ; \
        HelpId = CMD_SID_RULER ; \
        Command = ".uno:ShowRuler" ; \
        Text [ en-US ] = "~Rulers" ; \
    };

/* ### ACHTUNG: Neuer Text in Resource! */
#define MN_NOTESMODE \
    MenuItem\
    {\
        Identifier = SID_NOTESMODE ; \
        HelpId = CMD_SID_NOTESMODE ; \
        Check = TRUE ; \
        Text [ en-US ] = "~Notes View" ; \
    };

/* ### ACHTUNG: Neuer Text in Resource! */
#define MN_HANDOUTMODE \
    MenuItem\
    {\
        Identifier = SID_HANDOUTMODE ; \
        HelpId = CMD_SID_HANDOUTMODE ; \
        Check = TRUE ; \
        Text [ en-US ] = "~Handout View" ; \
    };

#define MN_PREVIEW_WIN \
    MenuItem\
    {\
        Identifier = SID_PREVIEW_WIN ; \
        HelpId = CMD_SID_PREVIEW_WIN ; \
        Text [ en-US ] = "~Preview" ; \
    };

#define MN_PAGEMODE \
    MenuItem\
    {\
        Identifier = SID_PAGEMODE ; \
        HelpId = CMD_SID_PAGEMODE ; \
        Check = TRUE ; \
        Text [ en-US ] = "S~lide" ; \
    };

#define MN_SLIDE_MASTERPAGE \
    MenuItem\
    {\
        Identifier = SID_SLIDE_MASTERPAGE ; \
        HelpId = CMD_SID_SLIDE_MASTERPAGE ; \
        Check = TRUE ; \
        Text [ en-US ] = "~Slide Master" ; \
    };

#define MN_TITLE_MASTERPAGE \
    MenuItem\
    {\
        Identifier = SID_TITLE_MASTERPAGE ; \
        HelpId = CMD_SID_TITLE_MASTERPAGE ; \
        Check = TRUE ; \
        Text [ en-US ] = "~Title" ; \
    };

#define MN_NOTES_MASTERPAGE \
    MenuItem\
    {\
        Identifier = SID_NOTES_MASTERPAGE ; \
        HelpId = CMD_SID_NOTES_MASTERPAGE ; \
        Check = TRUE ; \
        Text [ en-US ] = "~Notes" ; \
    };

#define MN_HANDOUT_MASTERPAGE \
    MenuItem\
    {\
        Identifier = SID_HANDOUT_MASTERPAGE ; \
        HelpId = CMD_SID_HANDOUT_MASTERPAGE ; \
        Check = TRUE ; \
        Text [ en-US ] = "~Handout" ; \
    };

#define MN_LAYERMODE \
    MenuItem\
    {\
        Identifier = SID_LAYERMODE ; \
        HelpId = CMD_SID_LAYERMODE ; \
        Check = TRUE ; \
        Text [ en-US ] = "La~yer" ; \
    };

#define MN_HEADERANDFOOTER \
    MenuItem\
    {\
        Identifier = SID_HEADER_AND_FOOTER ; \
        HelpId = CMD_SID_HEADER_AND_FOOTER ; \
        Text = "Kopf- und Fußzeile.."; \
    };

#define MN_INSERT_PAGE_NUMBER \
    MenuItem\
    {\
        Identifier = SID_INSERT_PAGE_NUMBER ; \
        HelpId = CMD_SID_INSERT_PAGE_NUMBER ; \
        Text = "Seitenzahl..." ; \
    };

#define MN_INSERT_DATE_AND_TIME \
    MenuItem\
    {\
        Identifier = SID_INSERT_DATE_TIME ; \
        HelpId = CMD_SID_INSERT_DATE_TIME ; \
        Text = "Datum und Uhrzeit..." ; \
    };

#define MN_MASTER_LAYOUTS \
    MenuItem\
    {\
        Identifier = MN_SUB_MASTER_LAYOUTS ; \
        HelpId = HID_MN_SUB_MASTER_LAYOUTS; \
        Text = "Masterlayouts";\
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    Identifier = SID_MASTER_LAYOUTS_SLIDE ; \
                    HelpId = CMD_SID_MASTER_LAYOUTS_SLIDE ; \
                    Text = "Masterlayout..." ; \
                };\
                MenuItem\
                {\
                    Identifier = SID_MASTER_LAYOUTS_NOTES ; \
                    HelpId = CMD_SID_MASTER_LAYOUTS_NOTES ; \
                    Text = "Notizenmasterlayout..." ; \
                };\
                MenuItem\
                {\
                    Identifier = SID_MASTER_LAYOUTS_HANDOUTS ; \
                    HelpId = CMD_SID_MASTER_LAYOUTS_HANDOUTS ; \
                    Text = "Handzettelmasterlayout..." ; \
                };\
            };\
        };\
    };

 //#define MNSUB_TOOLBAR \ -> menu.src
#define MNSUB_VIEW \
    MenuItem\
    {\
        Identifier = MN_SUB_VIEW ; \
        HelpID = HID_MN_SUB_VIEW ; \
        Command = ".uno:WorkspaceMenu" ; \
        Text [ en-US ] = "Wor~kspace" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_DRAWINGMODE\
                MN_OUTLINEMODE\
                MN_DIAMODE\
                MN_NOTESMODE\
                MN_HANDOUTMODE\
            };\
        };\
    };

#define MNSUB_MASTERPAGE \
    MenuItem\
    {\
        Identifier = MN_SUB_MASTERPAGE ; \
        HelpID = HID_MN_SUB_MASTERPAGE ; \
        Command = ".uno:MasterPageMenu" ; \
        Text [ en-US ] = "~Master" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_SLIDE_MASTERPAGE\
                MN_TITLE_MASTERPAGE\
                MN_NOTES_MASTERPAGE\
                MN_HANDOUT_MASTERPAGE\
            };\
        };\
    };
 //
 // Einfuegen-Menu
 //
#define MN_INSERT \
    Identifier = 21 ; \
    HelpID = "what a hack" ; \
    Command = ".uno:InsertMenu" ; \
    Text [ en-US ] = "~Insert" ; \

#define MN_INSERTPAGE \
    MenuItem\
    {\
        Identifier = SID_INSERTPAGE ; \
        HelpId = CMD_SID_INSERTPAGE ; \
        Text [ en-US ] = "Slid~e..." ; \
        };

#define MN_INSERTPAGE_DRAW \
    MenuItem\
    {\
        Identifier = SID_INSERTPAGE ; \
        HelpId = CMD_SID_INSERTPAGE ; \
        Text [ en-US ] = "Slid~e" ; \
    };

#define MN_DUPLICATE_PAGE \
    MenuItem\
    {\
        Identifier = SID_DUPLICATE_PAGE ; \
        HelpId = CMD_SID_DUPLICATE_PAGE ; \
        Text [ en-US ] = "D~uplicate Slide" ; \
    };

#define MN_EXPAND_PAGE \
    MenuItem\
    {\
        Identifier = SID_EXPAND_PAGE ; \
        HelpId = CMD_SID_EXPAND_PAGE ; \
        Text [ en-US ] = "E~xpand Slide" ; \
    };

#define MN_SUMMARY_PAGE \
    MenuItem\
    {\
        Identifier = SID_SUMMARY_PAGE ; \
        HelpId = CMD_SID_SUMMARY_PAGE ; \
        Text [ en-US ] = "Su~mmary Slide" ; \
    };

#define MN_INSERTLAYER \
    MenuItem\
    {\
        Identifier = SID_INSERTLAYER ; \
        HelpId = CMD_SID_INSERTLAYER ; \
        Text [ en-US ] = "~Layer..." ; \
    };

#define MN_INSERT_FLD_DATE_FIX \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_DATE_FIX ; \
        HelpId = CMD_SID_INSERT_FLD_DATE_FIX ; \
        Text [ en-US ] = "~Date (fixed)" ; \
    };

#define MN_INSERT_FLD_DATE_VAR \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_DATE_VAR ; \
        HelpId = CMD_SID_INSERT_FLD_DATE_VAR ; \
        Text [ en-US ] = "Dat~e (variable)" ; \
    };

#define MN_INSERT_FLD_TIME_FIX \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_TIME_FIX ; \
        HelpId = CMD_SID_INSERT_FLD_TIME_FIX ; \
        Text [ en-US ] = "~Time (fixed)" ; \
    };

#define MN_INSERT_FLD_TIME_VAR \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_TIME_VAR ; \
        HelpId = CMD_SID_INSERT_FLD_TIME_VAR ; \
        Text [ en-US ] = "T~ime (variable)" ; \
    };

#define MN_INSERT_FLD_PAGE \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_PAGE ; \
        HelpId = CMD_SID_INSERT_FLD_PAGE ; \
        Text [ en-US ] = "~Page Number" ; \
    };

#define MN_INSERT_FLD_FILE \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_FILE ; \
        HelpId = CMD_SID_INSERT_FLD_FILE ; \
        Text [ en-US ] = "~File Name" ; \
    };

#define MN_INSERT_FLD_AUTHOR \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLD_AUTHOR ; \
        HelpId = CMD_SID_INSERT_FLD_AUTHOR ; \
        Text [ en-US ] = "~Author" ; \
    };

#define MN_TWAIN_SELECT \
    MenuItem\
    {\
        Identifier = SID_TWAIN_SELECT ; \
        HelpId = CMD_SID_TWAIN_SELECT ; \
        Text [ en-US ] = "~Select Source..." ; \
    };

#define MN_TWAIN_TRANSFER \
    MenuItem\
    {\
        Identifier = SID_TWAIN_TRANSFER ; \
        HelpId = CMD_SID_TWAIN_TRANSFER ; \
        Text [ en-US ] = "~Request..." ; \
    };

#define MN_ATTR_TABLE \
    MenuItem\
    {\
        Identifier = SID_ATTR_TABLE ; \
        HelpId = CMD_SID_ATTR_TABLE ; \
        Text [ en-US ] = "Sp~readsheet" ; \
    };

#define MN_INSERT_INSERT_GRAPHIC \
    MenuItem\
    {\
        ITEM_INSERT_INSERT_GRAPHIC\
        Text [ en-US ] = "From ~File..." ; \
    };

#define MN_INSERT_INSERT_DIAGRAM \
    MenuItem\
    {\
        Identifier = SID_INSERT_DIAGRAM ; \
        HelpId = CMD_SID_INSERT_DIAGRAM ; \
        Text [ en-US ] = "Chart" ; \
    };

#define MN_INSERT_FLOATINGFRAME \
    MenuItem\
    {\
        Identifier = SID_INSERT_FLOATINGFRAME ; \
        HelpId = CMD_SID_INSERT_FLOATINGFRAME ; \
        Text [ en-US ] = "Float~ing Frame..." ; \
    };

#define MN_INSERTFILE \
    MenuItem\
    {\
        Identifier = SID_INSERTFILE ; \
        HelpId = CMD_SID_INSERTFILE ; \
        Text [ en-US ] = "~File..." ; \
    };

#define MNSUB_FIELD \
    MenuItem\
    {\
        Identifier = MN_SUB_FIELD ; \
        HelpID = HID_MN_SUB_FIELD ; \
        Command = ".uno:FieldMenu" ; \
        Text [ en-US ] = "Fiel~ds" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_INSERT_FLD_DATE_FIX\
                MN_INSERT_FLD_DATE_VAR\
                MN_INSERT_FLD_TIME_FIX\
                MN_INSERT_FLD_TIME_VAR\
                SEPARATOR\
                MN_INSERT_FLD_AUTHOR\
                MN_INSERT_FLD_PAGE\
                MN_INSERT_FLD_FILE\
            };\
        };\
    };

#define MNSUB_SCAN \
    ITEM_INSERT_TWAIN_MENU

#define MNSUB_GRAPHIC \
    MenuItem\
    {\
        ITEM_INSERT_INSERT_GRAPHIC \
    };


 //
 // Format-Menu
 //
#define MN_FORMAT \
    Identifier = 22 ; \
    HelpID = "what a hack!" ; \
    Command = ".uno:FormatMenu" ; \
    Text [ en-US ] = "F~ormat" ; \

#define MN_TEXTATTR_DLG \
    MenuItem\
    {\
        Identifier = SID_TEXTATTR_DLG ; \
        HelpId = CMD_SID_TEXTATTR_DLG ; \
        Text [ en-US ] = "Te~xt..." ; \
    };

#define MN_MEASURE_DLG \
    MenuItem\
    {\
        Identifier = SID_MEASURE_DLG ; \
        HelpId = CMD_SID_MEASURE_DLG ; \
        Text [ en-US ] = "Dimen~sions..." ; \
    };

#define MN_CONNECTION_DLG \
    MenuItem\
    {\
        Identifier = SID_CONNECTION_DLG ; \
        HelpId = CMD_SID_CONNECTION_DLG ; \
        Text [ en-US ] = "~Connector..." ; \
    };

#define MN_MODIFYLAYER \
    MenuItem\
    {\
        Identifier = SID_MODIFYLAYER ; \
        HelpId = CMD_SID_MODIFYLAYER ; \
        Text [ en-US ] = "~Layer..." ; \
    };

 // Seiten-Attribute
#define MN_MODIFYPAGE \
    MenuItem\
    {\
        Identifier = SID_MODIFYPAGE ; \
        HelpId = CMD_SID_MODIFYPAGE ; \
        Text [ en-US ] = "Modify ~Layout..." ; \
    };

#define MNSUB_TEMPLATES \
    MenuItem\
    {\
        Identifier = MN_SUB_TEMPLATES ; \
        HelpID = HID_MN_SUB_TEMPLATES ; \
        Command = ".uno:TemplatesMenu" ; \
        Text [ en-US ] = "Styl~es" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MI ( ITEM_FORMAT_TEMPLATECATALOG ) \
                MN_PRESENTATION_LAYOUT\
            };\
        };\
    };

 //
 // Extras-Menu
 //
#define MN_EXTRAS \
    Identifier = ITEM_TOOLS_ID ; \
    HelpID = "what a hack!" ; \
    Command = ".uno:ToolsMenu" ; \
    Text [ en-US ] = "~Tools" ; \

 //
 // Praesentations-Menu
 //
/* ### ACHTUNG: Neuer Text in Resource! */
#define MN_SLIDESHOW \
    Identifier = 26 ; \
    HelpID = "what a hack!" ; \
    Command = ".uno:SlideShowMenu" ; \
    Text [ en-US ] = "~Slide Show" ; \

#define MN_SPELLING \
    MenuItem\
    {\
        Identifier = SID_SPELL_DIALOG ; \
        HelpId = CMD_SID_SPELL_DIALOG ; \
        Text [ en-US ] = "~Check..." ; \
    };

#define MN_AUTOSPELL_CHECK \
    MenuItem\
    {\
        Identifier = SID_AUTOSPELL_CHECK ; \
        HelpId = CMD_SID_AUTOSPELL_CHECK ; \
        Text [ en-US ] = "~AutoSpellcheck" ; \
    };

#define MN_THESAURUS \
    MenuItem\
    {\
        Identifier = SID_THESAURUS ; \
        HelpId = CMD_SID_THESAURUS ; \
        Text [ en-US ] = "~Thesaurus..." ; \
    };

#define MN_HYPHENATION \
    MenuItem\
    {\
        Identifier = SID_HYPHENATION ; \
        HelpId = CMD_SID_HYPHENATION ; \
        Text [ en-US ] = "~Hyphenation" ; \
    };

#define MN_AUTO_CORRECT_DLG \
    MenuItem\
    {\
        Identifier = SID_AUTO_CORRECT_DLG ; \
        HelpId = CMD_SID_AUTO_CORRECT_DLG ; \
        Text [ en-US ] = "~AutoCorrect..." ; \
    };

/* ### ACHTUNG: Neuer Text in Resource! */
#define MN_PRESENTATION_DLG \
    MenuItem\
    {\
        Identifier = SID_PRESENTATION_DLG ; \
        HelpId = CMD_SID_PRESENTATION_DLG ; \
        Text [ en-US ] = "~Slide Show Settings..." ; \
    };

/* ### ACHTUNG: Neuer Text in Resource! */
#define MN_CUSTOMSHOW_DLG \
    MenuItem\
    {\
        Identifier = SID_CUSTOMSHOW_DLG ; \
        HelpId = CMD_SID_CUSTOMSHOW_DLG ; \
        Text [ en-US ] = "~Custom Slide Show..." ; \
    };

#define MN_ANIMATION_OBJECTS \
    MenuItem\
    {\
        Identifier = SID_ANIMATION_OBJECTS ; \
        HelpId = CMD_SID_ANIMATION_OBJECTS ; \
        Text [ en-US ] = "~Animation" ; \
    };

#define MN_ANIMATION_EFFECTS \
    MenuItem\
    {\
        Identifier = SID_ANIMATION_EFFECTS ; \
        HelpId = CMD_SID_ANIMATION_EFFECTS ; \
        Text [ en-US ] = "~Interaction..." ; \
    };

#define MNSUB_SPELLING \
    MenuItem\
    {\
        Identifier = MN_SUB_SPELLING ; \
        HelpID = HID_MN_SUB_SPELLING ; \
        Command = ".uno:SpellingMenu" ; \
        Text [ en-US ] = "~Spellcheck" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_SPELLING\
                MN_AUTOSPELL_CHECK\
            };\
        };\
    };
 //
 // Aendern-Menu
 //
#define MN_MODIFY \
    Identifier = 24 ; \
    HelpID = "what a hack!" ; \
    Command = ".uno:ModifyMenu" ; \
    Text [ en-US ] = "~Modify" ; \

#define MN_MOREFRONT \
    MenuItem\
    {\
        Identifier = SID_MOREFRONT ; \
        HelpId = CMD_SID_MOREFRONT ; \
        Text [ en-US ] = "Bring ~Forward" ; \
        };

#define MN_MOREBACK \
    MenuItem\
    {\
        Identifier = SID_MOREBACK ; \
        HelpId = CMD_SID_MOREBACK ; \
        Text [ en-US ] = "Send Back~ward" ; \
    };

#define MN_BEFORE_OBJ \
    MenuItem\
    {\
        Identifier = SID_BEFORE_OBJ ; \
        HelpId = CMD_SID_BEFORE_OBJ ; \
        Text [ en-US ] = "In Front of ~Object" ; \
    };

#define MN_BEHIND_OBJ \
    MenuItem\
    {\
        Identifier = SID_BEHIND_OBJ ; \
        HelpId = CMD_SID_BEHIND_OBJ ; \
        Text [ en-US ] = "Be~hind Object" ; \
    };

#define MN_REVERSE_ORDER \
    MenuItem\
    {\
        Identifier = SID_REVERSE_ORDER ; \
        HelpId = CMD_SID_REVERSE_ORDER ; \
        Text [ en-US ] = "~Reverse" ; \
    };

#define MN_BMPMASK \
    MenuItem\
    {\
        Identifier = SID_BMPMASK ; \
        HelpId = CMD_SID_BMPMASK ; \
        Text [ en-US ] = "~Eyedropper" ; \
    };

#define MN_GALLERY \
    MenuItem\
    {\
        Identifier = SID_GALLERY; \
        HelpId = CMD_SID_GALLERY; \
        Text [ en-US ] = "~Gallery" ; \
    };

#define MN_OUTPUT_QUALITY_COLOR \
    MenuItem\
    {\
        Identifier = SID_OUTPUT_QUALITY_COLOR ; \
        HelpId = CMD_SID_OUTPUT_QUALITY_COLOR ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~Color" ; \
    };

#define MN_OUTPUT_QUALITY_GRAYSCALE \
    MenuItem\
    {\
        Identifier = SID_OUTPUT_QUALITY_GRAYSCALE ; \
        HelpId = CMD_SID_OUTPUT_QUALITY_GRAYSCALE ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~Grayscale" ; \
    };

#define MN_OUTPUT_QUALITY_BLACKWHITE \
    MenuItem\
    {\
        Identifier = SID_OUTPUT_QUALITY_BLACKWHITE ; \
        HelpId = CMD_SID_OUTPUT_QUALITY_BLACKWHITE ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~Black and White" ; \
    };

#define MN_OUTPUT_QUALITY_CONTRAST \
    MenuItem\
    {\
        Identifier = SID_OUTPUT_QUALITY_CONTRAST ; \
        HelpId = CMD_SID_OUTPUT_QUALITY_CONTRAST ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~High Contrast";\
    };

#define MN_PREVIEW_QUALITY_COLOR \
    MenuItem\
    {\
        Identifier = SID_PREVIEW_QUALITY_COLOR ; \
        HelpId = CMD_SID_PREVIEW_QUALITY_COLOR ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~Color" ; \
    };

#define MN_PREVIEW_QUALITY_GRAYSCALE \
    MenuItem\
    {\
        Identifier = SID_PREVIEW_QUALITY_GRAYSCALE ; \
        HelpId = CMD_SID_PREVIEW_QUALITY_GRAYSCALE ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~Grayscale" ; \
    };

#define MN_PREVIEW_QUALITY_BLACKWHITE \
    MenuItem\
    {\
        Identifier = SID_PREVIEW_QUALITY_BLACKWHITE ; \
        HelpId = CMD_SID_PREVIEW_QUALITY_BLACKWHITE ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~Black and White" ; \
    };

#define MN_PREVIEW_QUALITY_CONTRAST \
    MenuItem\
    {\
        Identifier = SID_PREVIEW_QUALITY_CONTRAST ; \
        HelpId = CMD_SID_PREVIEW_QUALITY_CONTRAST ; \
        RadioCheck = TRUE ; \
        Text [ en-US ] = "~High Contrast";\
    };

#define MNSUB_POSITION \
    MenuItem\
    {\
        Identifier = MN_SUB_POSITION ; \
        HelpID = HID_MN_SUB_POSITION ; \
        Command = ".uno:ArrangeMenu" ; \
        Text [ en-US ] = "~Arrange" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MI ( ITEM_FORMAT_FRAME_TO_TOP ) \
                MN_MOREFRONT\
                MN_MOREBACK\
                MI ( ITEM_FORMAT_FRAME_TO_BOTTOM ) \
                SEPARATOR\
                MN_BEFORE_OBJ\
                MN_BEHIND_OBJ\
                SEPARATOR\
                MN_REVERSE_ORDER\
            };\
        };\
    };

#define MNSUB_OBJECT_ALIGN \
    MenuItem\
    {\
        ITEM_FORMAT_OBJECT_ALIGN\
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MI ( ITEM_FORMAT_OBJECT_ALIGN_LEFT ) \
                MI ( ITEM_FORMAT_OBJECT_ALIGN_CENTER ) \
                MI ( ITEM_FORMAT_OBJECT_ALIGN_RIGHT ) \
                SEPARATOR\
                MI ( ITEM_FORMAT_OBJECT_ALIGN_UP ) \
                MI ( ITEM_FORMAT_OBJECT_ALIGN_MIDDLE ) \
                MI ( ITEM_FORMAT_OBJECT_ALIGN_DOWN ) \
            };\
        };\
    };

#define MNSUB_OUTPUT_QUALITY \
    MenuItem\
    {\
        Identifier = MN_SUB_OUTPUT_QUALITY ; \
        HelpID = HID_MN_SUB_OUTPUT_QUALITY ; \
        Command = ".uno:DisplayQualityMenu" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_OUTPUT_QUALITY_COLOR\
                MN_OUTPUT_QUALITY_GRAYSCALE\
                MN_OUTPUT_QUALITY_BLACKWHITE\
                MN_OUTPUT_QUALITY_CONTRAST\
            };\
        };\
        Text [ en-US ] = "~Display Quality" ; \
    };

#define MNSUB_PREVIEW_OUTPUT_QUALITY \
    MenuItem\
    {\
        Identifier = MN_SUB_PREVIEW_OUTPUT_QUALITY ; \
        HelpID = HID_MN_SUB_PREVIEW_OUTPUT_QUALITY ; \
        Command = ".uno:PreviewDisplayQualityMenu" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_PREVIEW_QUALITY_COLOR\
                MN_PREVIEW_QUALITY_GRAYSCALE\
                MN_PREVIEW_QUALITY_BLACKWHITE\
                MN_PREVIEW_QUALITY_CONTRAST\
            };\
        };\
        Text [ en-US ] = "Pre~view Mode" ; \
    };

#endif // _MENUIDS2_SRC