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