1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: undo.hrc,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
33 #define UNDO_BASE (RC_WRTSH_BEGIN + 8)
34 #define STR_CANT_UNDO (UNDO_BASE + 0)
36 // im enun folgen hier START & END fuer die Klammerungen,
38 // Id's fuer die Undo/Redo/Repeat faehigen "Funktionen"
39 #define STR_DELETE_UNDO (UNDO_BASE + 3)
40 #define STR_INSERT_UNDO (UNDO_BASE + 4)
41 #define STR_OVR_UNDO (UNDO_BASE + 5)
42 #define STR_SPLITNODE_UNDO (UNDO_BASE + 6)
43 #define STR_INSATTR_UNDO (UNDO_BASE + 7)
44 #define STR_SETFMTCOLL_UNDO (UNDO_BASE + 8)
45 #define STR_RESET_ATTR_UNDO (UNDO_BASE + 9)
46 #define STR_INSFMT_ATTR_UNDO (UNDO_BASE +10)
47 #define STR_INSERT_DOC_UNDO (UNDO_BASE +11)
48 #define STR_COPY_UNDO (UNDO_BASE +12)
49 #define STR_INSTABLE_UNDO (UNDO_BASE +13)
50 #define STR_TABLETOTEXT_UNDO (UNDO_BASE +14)
51 #define STR_TEXTTOTABLE_UNDO (UNDO_BASE +15)
52 #define STR_SORT_TXT (UNDO_BASE +16)
53 #define STR_INSERTFLY (UNDO_BASE +17)
54 #define STR_TABLEHEADLINE (UNDO_BASE +18)
55 #define STR_INSERTSECTION (UNDO_BASE +19)
56 #define STR_OUTLINE_LR (UNDO_BASE +20)
57 #define STR_OUTLINE_UD (UNDO_BASE +21)
58 #define STR_INSNUM (UNDO_BASE +22)
59 #define STR_NUMUP (UNDO_BASE +23)
60 #define STR_MOVENUM (UNDO_BASE +24)
61 #define STR_INSERTDRAW (UNDO_BASE +25)
62 #define STR_NUMORNONUM (UNDO_BASE +26)
63 #define STR_INC_LEFTMARGIN (UNDO_BASE +27)
64 #define STR_DEC_LEFTMARGIN (UNDO_BASE +28)
65 #define STR_INSERTLABEL (UNDO_BASE +29)
66 #define STR_SETNUMRULESTART (UNDO_BASE +30)
67 #define STR_CHANGEFTN (UNDO_BASE +31)
68 #define STR_REDLINE (UNDO_BASE +32)
69 #define STR_ACCEPT_REDLINE (UNDO_BASE +33)
70 #define STR_REJECT_REDLINE (UNDO_BASE +34)
71 #define STR_SPLIT_TABLE (UNDO_BASE +35)
72 #define STR_DONTEXPAND (UNDO_BASE +36)
73 #define STR_AUTOCORRECT (UNDO_BASE +37)
74 #define STR_MERGE_TABLE (UNDO_BASE +38)
75 #define STR_TRANSLITERATE (UNDO_BASE +39)
76 #define STR_PASTE_CLIPBOARD_UNDO (UNDO_BASE +40)
77 #define STR_TYPING_UNDO (UNDO_BASE +41)
79 #define STR_REPEAT_DUMMY_6 (UNDO_BASE +42)
80 #define STR_REPEAT_DUMMY_7 (UNDO_BASE +43)
81 #define STR_REPEAT_DUMMY_8 (UNDO_BASE +44)
82 #define STR_REPEAT_DUMMY_9 (UNDO_BASE +45)
83 // !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!
84 #define CORE_REPEAT_END STR_REPEAT_DUMMY_9// !!!! umsetzen !!!
87 // Id's nur fuer die Undo/Redo faehigen "Funktionen"
88 #define STR_MOVE_UNDO (CORE_REPEAT_END + 1)
89 #define STR_INSERT_GLOSSARY (CORE_REPEAT_END + 2)
90 #define STR_DELBOOKMARK (CORE_REPEAT_END + 3)
91 #define STR_INSBOOKMARK (CORE_REPEAT_END + 4)
92 #define STR_SORT_TBL (CORE_REPEAT_END + 5)
93 #define STR_DELETEFLY (CORE_REPEAT_END + 6)
94 #define STR_AUTOFORMAT (CORE_REPEAT_END + 7)
95 #define STR_REPLACE (CORE_REPEAT_END + 8)
96 #define STR_DELETESECTION (CORE_REPEAT_END + 9)
97 #define STR_CHANGESECTION (CORE_REPEAT_END +10)
98 #define STR_CHANGESECTPASSWD (CORE_REPEAT_END +11)
99 #define STR_CHANGEDEFATTR (CORE_REPEAT_END +12)
100 #define STR_DELNUM (CORE_REPEAT_END +13)
101 #define STR_DRAWUNDO (CORE_REPEAT_END +14)
102 #define STR_DRAWGROUP (CORE_REPEAT_END +15)
103 #define STR_DRAWUNGROUP (CORE_REPEAT_END +16)
104 #define STR_DRAWDELETE (CORE_REPEAT_END +17)
105 #define STR_REREAD (CORE_REPEAT_END +18)
106 #define STR_DELGRF (CORE_REPEAT_END +19)
107 #define STR_DELOLE (CORE_REPEAT_END +20)
108 #define STR_TABLE_ATTR (CORE_REPEAT_END +21)
109 #define STR_TABLE_AUTOFMT (CORE_REPEAT_END +22)
110 #define STR_TABLE_INSCOL (CORE_REPEAT_END +23)
111 #define STR_TABLE_INSROW (CORE_REPEAT_END +24)
112 #define STR_TABLE_DELBOX (CORE_REPEAT_END +25)
113 #define STR_TABLE_SPLIT (CORE_REPEAT_END +26)
114 #define STR_TABLE_MERGE (CORE_REPEAT_END +27)
115 #define STR_TABLE_NUMFORMAT (CORE_REPEAT_END +28)
116 #define STR_INSERT_TOX (CORE_REPEAT_END +29)
117 #define STR_CLEAR_TOX_RANGE (CORE_REPEAT_END +30)
118 #define STR_TABLE_TBLCPYTBL (CORE_REPEAT_END +31)
119 #define STR_TABLE_CPYTBL (CORE_REPEAT_END +32)
120 #define STR_INS_FROM_SHADOWCRSR (CORE_REPEAT_END +33)
121 #define STR_UNDO_CHAIN (CORE_REPEAT_END +34)
122 #define STR_UNDO_UNCHAIN (CORE_REPEAT_END +35)
123 #define STR_UNDO_FTNINFO (CORE_REPEAT_END +36)
124 #define STR_UNDO_ENDNOTEINFO (CORE_REPEAT_END +37)
125 #define STR_UNDO_COMPAREDOC (CORE_REPEAT_END +38)
126 #define STR_UNDO_SETFLYFRMFMT (CORE_REPEAT_END +39)
127 #define STR_UNDO_SETRUBYATTR (CORE_REPEAT_END +40)
129 #define STR_UNDO_TMPAUTOCORR (CORE_REPEAT_END +41)
131 #define STR_TOXCHANGE (CORE_REPEAT_END +42)
132 #define STR_UNDO_PAGEDESC_CREATE (CORE_REPEAT_END +43)
133 #define STR_UNDO_PAGEDESC (CORE_REPEAT_END +44)
134 #define STR_UNDO_PAGEDESC_DELETE (CORE_REPEAT_END +45)
135 #define STR_UNDO_HEADER_FOOTER (CORE_REPEAT_END +46) // #i7983#
136 #define STR_UNDO_FIELD (CORE_REPEAT_END +47) // #111840#
137 #define STR_UNDO_TXTFMTCOL_CREATE (CORE_REPEAT_END +48)
138 #define STR_UNDO_TXTFMTCOL_DELETE (CORE_REPEAT_END +49)
139 #define STR_UNDO_TXTFMTCOL_RENAME (CORE_REPEAT_END +50)
140 #define STR_UNDO_CHARFMT_CREATE (CORE_REPEAT_END +51)
141 #define STR_UNDO_CHARFMT_DELETE (CORE_REPEAT_END +52)
142 #define STR_UNDO_CHARFMT_RENAME (CORE_REPEAT_END +53)
143 #define STR_UNDO_FRMFMT_CREATE (CORE_REPEAT_END +54)
144 #define STR_UNDO_FRMFMT_DELETE (CORE_REPEAT_END +55)
145 #define STR_UNDO_FRMFMT_RENAME (CORE_REPEAT_END +56)
146 #define STR_UNDO_NUMRULE_CREATE (CORE_REPEAT_END +57)
147 #define STR_UNDO_NUMRULE_DELETE (CORE_REPEAT_END +58)
148 #define STR_UNDO_NUMRULE_RENAME (CORE_REPEAT_END +59)
149 #define STR_UNDO_BOOKMARK_RENAME (CORE_REPEAT_END +60)
150 #define STR_UNDO_INDEX_ENTRY_INSERT (CORE_REPEAT_END +61)
151 #define STR_UNDO_INDEX_ENTRY_DELETE (CORE_REPEAT_END +62)
152 #define STR_UNDO_COL_DELETE (CORE_REPEAT_END +63)
153 #define STR_UNDO_ROW_DELETE (CORE_REPEAT_END +64)
154 #define STR_UNDO_PAGEDESC_RENAME (CORE_REPEAT_END +65)
155 #define STR_NUMDOWN (CORE_REPEAT_END +66)
156 #define STR_UNDO_FLYFRMFMT_TITLE (CORE_REPEAT_END +67)
157 #define STR_UNDO_FLYFRMFMT_DESCRITPTION (CORE_REPEAT_END +68)
159 // !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!
160 #define CORE_UNDO_END STR_UNDO_FLYFRMFMT_DESCRITPTION// !!!! umsetzen !!!
162 // UI-Undo Klammerungen
163 #define UI_UNDO_BEGIN (CORE_UNDO_END + 1)
164 #define STR_REPLACE_UNDO (UI_UNDO_BEGIN)
165 #define STR_INSERT_PAGE_BREAK_UNDO (UI_UNDO_BEGIN + 1)
166 #define STR_INSERT_COLUMN_BREAK_UNDO (UI_UNDO_BEGIN + 2)
167 #define STR_PLAY_MACRO_UNDO (UI_UNDO_BEGIN + 3)
168 #define STR_INSERT_ENV_UNDO (UI_UNDO_BEGIN + 4)
169 #define STR_DRAG_AND_COPY (UI_UNDO_BEGIN + 5)
170 #define STR_DRAG_AND_MOVE (UI_UNDO_BEGIN + 6)
171 #define STR_INSERT_RULER (UI_UNDO_BEGIN + 7)
172 #define STR_INSERT_CHART (UI_UNDO_BEGIN + 8)
173 #define STR_INSERT_FOOTNOTE (UI_UNDO_BEGIN + 9)
174 #define STR_INSERT_URLBTN (UI_UNDO_BEGIN + 10)
175 #define STR_INSERT_URLTXT (UI_UNDO_BEGIN + 11)
176 #define STR_DELETE_INVISIBLECNTNT (UI_UNDO_BEGIN + 12)
177 #define STR_REPLACE_STYLE (UI_UNDO_BEGIN + 13)
178 #define UI_UNDO_END STR_REPLACE_STYLE
180 #define UNDO_MORE_STRINGS_BEGIN (UI_UNDO_END + 1)
181 #define STR_OCCURRENCES_OF (UNDO_MORE_STRINGS_BEGIN)
182 #define STR_UNDO_TABS (UNDO_MORE_STRINGS_BEGIN + 1)
183 #define STR_UNDO_NLS (UNDO_MORE_STRINGS_BEGIN + 2)
184 #define STR_UNDO_PAGEBREAKS (UNDO_MORE_STRINGS_BEGIN + 3)
185 #define STR_UNDO_COLBRKS (UNDO_MORE_STRINGS_BEGIN + 4)
186 #define STR_UNDO_SPECIALCHAR (UNDO_MORE_STRINGS_BEGIN + 5)
188 #define UNDO_ACT_END STR_UNDO_TABLE_NAME