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