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 28#include <rcid.hrc> 29// Undo 30#define UNDO_BASE (RC_WRTSH_BEGIN + 8) 31#define STR_CANT_UNDO (UNDO_BASE + 0) 32 33// im enun folgen hier START & END fuer die Klammerungen, 34 35// Id's fuer die Undo/Redo/Repeat faehigen "Funktionen" 36#define STR_DELETE_UNDO (UNDO_BASE + 3) 37#define STR_INSERT_UNDO (UNDO_BASE + 4) 38#define STR_OVR_UNDO (UNDO_BASE + 5) 39#define STR_SPLITNODE_UNDO (UNDO_BASE + 6) 40#define STR_INSATTR_UNDO (UNDO_BASE + 7) 41#define STR_SETFMTCOLL_UNDO (UNDO_BASE + 8) 42#define STR_RESET_ATTR_UNDO (UNDO_BASE + 9) 43#define STR_INSFMT_ATTR_UNDO (UNDO_BASE +10) 44#define STR_INSERT_DOC_UNDO (UNDO_BASE +11) 45#define STR_COPY_UNDO (UNDO_BASE +12) 46#define STR_INSTABLE_UNDO (UNDO_BASE +13) 47#define STR_TABLETOTEXT_UNDO (UNDO_BASE +14) 48#define STR_TEXTTOTABLE_UNDO (UNDO_BASE +15) 49#define STR_SORT_TXT (UNDO_BASE +16) 50#define STR_INSERTFLY (UNDO_BASE +17) 51#define STR_TABLEHEADLINE (UNDO_BASE +18) 52#define STR_INSERTSECTION (UNDO_BASE +19) 53#define STR_OUTLINE_LR (UNDO_BASE +20) 54#define STR_OUTLINE_UD (UNDO_BASE +21) 55#define STR_INSNUM (UNDO_BASE +22) 56#define STR_NUMUP (UNDO_BASE +23) 57#define STR_MOVENUM (UNDO_BASE +24) 58#define STR_INSERTDRAW (UNDO_BASE +25) 59#define STR_NUMORNONUM (UNDO_BASE +26) 60#define STR_INC_LEFTMARGIN (UNDO_BASE +27) 61#define STR_DEC_LEFTMARGIN (UNDO_BASE +28) 62#define STR_INSERTLABEL (UNDO_BASE +29) 63#define STR_SETNUMRULESTART (UNDO_BASE +30) 64#define STR_CHANGEFTN (UNDO_BASE +31) 65#define STR_REDLINE (UNDO_BASE +32) 66#define STR_ACCEPT_REDLINE (UNDO_BASE +33) 67#define STR_REJECT_REDLINE (UNDO_BASE +34) 68#define STR_SPLIT_TABLE (UNDO_BASE +35) 69#define STR_DONTEXPAND (UNDO_BASE +36) 70#define STR_AUTOCORRECT (UNDO_BASE +37) 71#define STR_MERGE_TABLE (UNDO_BASE +38) 72#define STR_TRANSLITERATE (UNDO_BASE +39) 73#define STR_PASTE_CLIPBOARD_UNDO (UNDO_BASE +40) 74#define STR_TYPING_UNDO (UNDO_BASE +41) 75 76#define STR_REPEAT_DUMMY_6 (UNDO_BASE +42) 77#define STR_REPEAT_DUMMY_7 (UNDO_BASE +43) 78#define STR_REPEAT_DUMMY_8 (UNDO_BASE +44) 79#define STR_REPEAT_DUMMY_9 (UNDO_BASE +45) 80// !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!! 81#define CORE_REPEAT_END STR_REPEAT_DUMMY_9// !!!! umsetzen !!! 82 83 84// Id's nur fuer die Undo/Redo faehigen "Funktionen" 85#define STR_MOVE_UNDO (CORE_REPEAT_END + 1) 86#define STR_INSERT_GLOSSARY (CORE_REPEAT_END + 2) 87#define STR_DELBOOKMARK (CORE_REPEAT_END + 3) 88#define STR_INSBOOKMARK (CORE_REPEAT_END + 4) 89#define STR_SORT_TBL (CORE_REPEAT_END + 5) 90#define STR_DELETEFLY (CORE_REPEAT_END + 6) 91#define STR_AUTOFORMAT (CORE_REPEAT_END + 7) 92#define STR_REPLACE (CORE_REPEAT_END + 8) 93#define STR_DELETESECTION (CORE_REPEAT_END + 9) 94#define STR_CHANGESECTION (CORE_REPEAT_END +10) 95#define STR_CHANGESECTPASSWD (CORE_REPEAT_END +11) 96#define STR_CHANGEDEFATTR (CORE_REPEAT_END +12) 97#define STR_DELNUM (CORE_REPEAT_END +13) 98#define STR_DRAWUNDO (CORE_REPEAT_END +14) 99#define STR_DRAWGROUP (CORE_REPEAT_END +15) 100#define STR_DRAWUNGROUP (CORE_REPEAT_END +16) 101#define STR_DRAWDELETE (CORE_REPEAT_END +17) 102#define STR_REREAD (CORE_REPEAT_END +18) 103#define STR_DELGRF (CORE_REPEAT_END +19) 104#define STR_DELOLE (CORE_REPEAT_END +20) 105#define STR_TABLE_ATTR (CORE_REPEAT_END +21) 106#define STR_TABLE_AUTOFMT (CORE_REPEAT_END +22) 107#define STR_TABLE_INSCOL (CORE_REPEAT_END +23) 108#define STR_TABLE_INSROW (CORE_REPEAT_END +24) 109#define STR_TABLE_DELBOX (CORE_REPEAT_END +25) 110#define STR_TABLE_SPLIT (CORE_REPEAT_END +26) 111#define STR_TABLE_MERGE (CORE_REPEAT_END +27) 112#define STR_TABLE_NUMFORMAT (CORE_REPEAT_END +28) 113#define STR_INSERT_TOX (CORE_REPEAT_END +29) 114#define STR_CLEAR_TOX_RANGE (CORE_REPEAT_END +30) 115#define STR_TABLE_TBLCPYTBL (CORE_REPEAT_END +31) 116#define STR_TABLE_CPYTBL (CORE_REPEAT_END +32) 117#define STR_INS_FROM_SHADOWCRSR (CORE_REPEAT_END +33) 118#define STR_UNDO_CHAIN (CORE_REPEAT_END +34) 119#define STR_UNDO_UNCHAIN (CORE_REPEAT_END +35) 120#define STR_UNDO_FTNINFO (CORE_REPEAT_END +36) 121#define STR_UNDO_ENDNOTEINFO (CORE_REPEAT_END +37) 122#define STR_UNDO_COMPAREDOC (CORE_REPEAT_END +38) 123#define STR_UNDO_SETFLYFRMFMT (CORE_REPEAT_END +39) 124#define STR_UNDO_SETRUBYATTR (CORE_REPEAT_END +40) 125// #102505# 126#define STR_UNDO_TMPAUTOCORR (CORE_REPEAT_END +41) 127 128#define STR_TOXCHANGE (CORE_REPEAT_END +42) 129#define STR_UNDO_PAGEDESC_CREATE (CORE_REPEAT_END +43) 130#define STR_UNDO_PAGEDESC (CORE_REPEAT_END +44) 131#define STR_UNDO_PAGEDESC_DELETE (CORE_REPEAT_END +45) 132#define STR_UNDO_HEADER_FOOTER (CORE_REPEAT_END +46) // #i7983# 133#define STR_UNDO_FIELD (CORE_REPEAT_END +47) // #111840# 134#define STR_UNDO_TXTFMTCOL_CREATE (CORE_REPEAT_END +48) 135#define STR_UNDO_TXTFMTCOL_DELETE (CORE_REPEAT_END +49) 136#define STR_UNDO_TXTFMTCOL_RENAME (CORE_REPEAT_END +50) 137#define STR_UNDO_CHARFMT_CREATE (CORE_REPEAT_END +51) 138#define STR_UNDO_CHARFMT_DELETE (CORE_REPEAT_END +52) 139#define STR_UNDO_CHARFMT_RENAME (CORE_REPEAT_END +53) 140#define STR_UNDO_FRMFMT_CREATE (CORE_REPEAT_END +54) 141#define STR_UNDO_FRMFMT_DELETE (CORE_REPEAT_END +55) 142#define STR_UNDO_FRMFMT_RENAME (CORE_REPEAT_END +56) 143#define STR_UNDO_NUMRULE_CREATE (CORE_REPEAT_END +57) 144#define STR_UNDO_NUMRULE_DELETE (CORE_REPEAT_END +58) 145#define STR_UNDO_NUMRULE_RENAME (CORE_REPEAT_END +59) 146#define STR_UNDO_BOOKMARK_RENAME (CORE_REPEAT_END +60) 147#define STR_UNDO_INDEX_ENTRY_INSERT (CORE_REPEAT_END +61) 148#define STR_UNDO_INDEX_ENTRY_DELETE (CORE_REPEAT_END +62) 149#define STR_UNDO_COL_DELETE (CORE_REPEAT_END +63) 150#define STR_UNDO_ROW_DELETE (CORE_REPEAT_END +64) 151#define STR_UNDO_PAGEDESC_RENAME (CORE_REPEAT_END +65) 152#define STR_NUMDOWN (CORE_REPEAT_END +66) 153#define STR_UNDO_FLYFRMFMT_TITLE (CORE_REPEAT_END +67) 154#define STR_UNDO_FLYFRMFMT_DESCRITPTION (CORE_REPEAT_END +68) 155 156// !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!! 157#define CORE_UNDO_END STR_UNDO_FLYFRMFMT_DESCRITPTION// !!!! umsetzen !!! 158 159// UI-Undo Klammerungen 160#define UI_UNDO_BEGIN (CORE_UNDO_END + 1) 161#define STR_REPLACE_UNDO (UI_UNDO_BEGIN) 162#define STR_INSERT_PAGE_BREAK_UNDO (UI_UNDO_BEGIN + 1) 163#define STR_INSERT_COLUMN_BREAK_UNDO (UI_UNDO_BEGIN + 2) 164#define STR_PLAY_MACRO_UNDO (UI_UNDO_BEGIN + 3) 165#define STR_INSERT_ENV_UNDO (UI_UNDO_BEGIN + 4) 166#define STR_DRAG_AND_COPY (UI_UNDO_BEGIN + 5) 167#define STR_DRAG_AND_MOVE (UI_UNDO_BEGIN + 6) 168#define STR_INSERT_RULER (UI_UNDO_BEGIN + 7) 169#define STR_INSERT_CHART (UI_UNDO_BEGIN + 8) 170#define STR_INSERT_FOOTNOTE (UI_UNDO_BEGIN + 9) 171#define STR_INSERT_URLBTN (UI_UNDO_BEGIN + 10) 172#define STR_INSERT_URLTXT (UI_UNDO_BEGIN + 11) 173#define STR_DELETE_INVISIBLECNTNT (UI_UNDO_BEGIN + 12) 174#define STR_REPLACE_STYLE (UI_UNDO_BEGIN + 13) 175#define UI_UNDO_END STR_REPLACE_STYLE 176 177#define UNDO_MORE_STRINGS_BEGIN (UI_UNDO_END + 1) 178#define STR_OCCURRENCES_OF (UNDO_MORE_STRINGS_BEGIN) 179#define STR_UNDO_TABS (UNDO_MORE_STRINGS_BEGIN + 1) 180#define STR_UNDO_NLS (UNDO_MORE_STRINGS_BEGIN + 2) 181#define STR_UNDO_PAGEBREAKS (UNDO_MORE_STRINGS_BEGIN + 3) 182#define STR_UNDO_COLBRKS (UNDO_MORE_STRINGS_BEGIN + 4) 183#define STR_UNDO_SPECIALCHAR (UNDO_MORE_STRINGS_BEGIN + 5) 184 185#define UNDO_ACT_END STR_UNDO_TABLE_NAME 186