bump product version to 4.1.6.2
[LibreOffice.git] / sw / inc / swundo.hxx
blob1a19e4a4ba38713b8032022a7943b453a40d1559
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef SWUNDO_HXX
20 #define SWUNDO_HXX
22 #include <vector>
24 #include <rtl/ustring.hxx>
27 typedef ::std::vector< OUString > SwUndoComments_t;
30 // The IDs for StdActions.
31 enum SwUndoId
33 UNDO_EMPTY = 0,
34 UNDO_STD_BEGIN = 1,
35 UNDO_START = UNDO_STD_BEGIN, // 1
36 UNDO_END, // 2
37 REPEAT_START, // All UndoIDs between REPEAT_START and
38 // REPEAT_END are Repeat-enabled !!
39 UNDO_DELETE = REPEAT_START, // 3
40 UNDO_INSERT, // 4
41 UNDO_OVERWRITE, // 5
42 UNDO_SPLITNODE, // 6
43 UNDO_INSATTR, // 7
44 UNDO_SETFMTCOLL, // 8
45 UNDO_RESETATTR, // 9
46 UNDO_INSFMTATTR, // 10
47 UNDO_INSDOKUMENT, // 11
48 UNDO_COPY, // 12
49 UNDO_INSTABLE, // 13
50 UNDO_TABLETOTEXT, // 14
51 UNDO_TEXTTOTABLE, // 15
52 UNDO_SORT_TXT, // 16
53 UNDO_INSLAYFMT, // 17
54 UNDO_TABLEHEADLINE, // 18
55 UNDO_INSSECTION, // 19
56 UNDO_OUTLINE_LR, // 20
57 UNDO_OUTLINE_UD, // 21
58 UNDO_INSNUM, // 22
59 UNDO_NUMUP, // 23
60 UNDO_MOVENUM, // 24
61 UNDO_INSDRAWFMT, // 25
62 UNDO_NUMORNONUM, // 26
63 UNDO_INC_LEFTMARGIN, // 27
64 UNDO_DEC_LEFTMARGIN, // 28
65 UNDO_INSERTLABEL, // 29
66 UNDO_SETNUMRULESTART, // 30
67 UNDO_CHGFTN, // 31
68 UNDO_REDLINE, // 32
69 UNDO_ACCEPT_REDLINE, // 33
70 UNDO_REJECT_REDLINE, // 34
71 UNDO_SPLIT_TABLE, // 35
72 UNDO_DONTEXPAND, // 36
73 UNDO_AUTOCORRECT, // 37
74 UNDO_MERGE_TABLE, // 38
75 UNDO_TRANSLITERATE, // 39
77 UNDO_PASTE_CLIPBOARD, // 40
78 UNDO_TYPING, // 41
79 UNDO_REPEAT_DUMMY_6, // 42
80 UNDO_REPEAT_DUMMY_7, // 43
81 UNDO_REPEAT_DUMMY_8, // 44
82 UNDO_REPEAT_DUMMY_9, // 45
83 REPEAT_END,
85 UNDO_MOVE = REPEAT_END, // 46
86 UNDO_INSGLOSSARY, // 47
87 UNDO_DELBOOKMARK, // 48
88 UNDO_INSBOOKMARK, // 49
89 UNDO_SORT_TBL, // 50
90 UNDO_DELLAYFMT, // 51
91 UNDO_AUTOFORMAT, // 52
92 UNDO_REPLACE, // 53
93 UNDO_DELSECTION, // 54
94 UNDO_CHGSECTION, // 55
95 UNDO_CHGSECTIONPASSWD, // 56
96 UNDO_SETDEFTATTR, // 57
97 UNDO_DELNUM, // 58
98 UNDO_DRAWUNDO, // 59
99 UNDO_DRAWGROUP, // 60
100 UNDO_DRAWUNGROUP, // 61
101 UNDO_DRAWDELETE, // 62
102 UNDO_REREAD, // 63
103 UNDO_DELGRF, // 64
104 UNDO_DELOLE, // 65
105 UNDO_TABLE_ATTR, // 66
106 UNDO_TABLE_AUTOFMT, // 67
107 UNDO_TABLE_INSCOL, // 68
108 UNDO_TABLE_INSROW, // 69
109 UNDO_TABLE_DELBOX, // 70
110 UNDO_TABLE_SPLIT, // 71
111 UNDO_TABLE_MERGE, // 72
112 UNDO_TBLNUMFMT, // 73
113 UNDO_INSTOX, // 74
114 UNDO_CLEARTOXRANGE, // 75
115 UNDO_TBLCPYTBL, // 76
116 UNDO_CPYTBL, // 77
117 UNDO_INS_FROM_SHADOWCRSR, // 78
118 UNDO_CHAINE, // 79
119 UNDO_UNCHAIN, // 80
120 UNDO_FTNINFO, // 81
121 UNDO_ENDNOTEINFO, // 82
122 UNDO_COMPAREDOC, // 83
123 UNDO_SETFLYFRMFMT, // 84
124 UNDO_SETRUBYATTR, // 85
126 UNDO_TMPAUTOCORR, // 86
127 UNDO_TOXCHANGE, // 87
128 UNDO_CREATE_PAGEDESC, // 88
129 UNDO_CHANGE_PAGEDESC, // 89
130 UNDO_DELETE_PAGEDESC, // 90
131 UNDO_HEADER_FOOTER, // 91 #i7983#
132 UNDO_FIELD, // 92
133 UNDO_TXTFMTCOL_CREATE, // 93
134 UNDO_TXTFMTCOL_DELETE, // 94
135 UNDO_TXTFMTCOL_RENAME, // 95
136 UNDO_CHARFMT_CREATE, // 96
137 UNDO_CHARFMT_DELETE, // 97
138 UNDO_CHARFMT_RENAME, // 98
139 UNDO_FRMFMT_CREATE, // 99
140 UNDO_FRMFMT_DELETE, // 100
141 UNDO_FRMFMT_RENAME, // 101
142 UNDO_NUMRULE_CREATE,// 102
143 UNDO_NUMRULE_DELETE,// 103
144 UNDO_NUMRULE_RENAME,// 104
145 UNDO_BOOKMARK_RENAME, // 105
146 UNDO_INDEX_ENTRY_INSERT, // 106
147 UNDO_INDEX_ENTRY_DELETE, // 107
148 UNDO_COL_DELETE, // 108
149 UNDO_ROW_DELETE, // 109
150 UNDO_RENAME_PAGEDESC, // 110
151 UNDO_NUMDOWN, // 111
152 // --> #i73249#
153 UNDO_FLYFRMFMT_TITLE, // 112
154 UNDO_FLYFRMFMT_DESCRIPTION, // 113
155 UNDO_STD_END= UNDO_FLYFRMFMT_DESCRIPTION,
157 // UI undo ID's...
158 UNDO_UI_REPLACE = UNDO_STD_END + 1,
159 UNDO_UI_INSERT_PAGE_BREAK,
160 UNDO_UI_INSERT_COLUMN_BREAK,
161 UNDO_UI_PLAY_MACRO,
162 UNDO_UI_INSERT_ENVELOPE,
163 UNDO_UI_DRAG_AND_COPY,
164 UNDO_UI_DRAG_AND_MOVE,
165 UNDO_UI_INSERT_CHART,
166 UNDO_UI_INSERT_FOOTNOTE,
167 UNDO_UI_INSERT_URLBTN,
168 UNDO_UI_INSERT_URLTXT,
169 UNDO_UI_DELETE_INVISIBLECNTNT,
170 UNDO_UI_REPLACE_STYLE,
171 UNDO_UI_DELETE_PAGE_BREAK,
172 UNDO_UI_TEXT_CORRECTION
176 #endif
178 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */