1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 INCLUDED_SW_INC_SWUNDO_HXX
20 #define INCLUDED_SW_INC_SWUNDO_HXX
24 #include <rtl/ustring.hxx>
26 typedef ::std::vector
< OUString
> SwUndoComments_t
;
28 // The IDs for StdActions.
33 UNDO_START
= UNDO_STD_BEGIN
, // 1
35 REPEAT_START
, // All UndoIDs between REPEAT_START and
36 // REPEAT_END are Repeat-enabled !!
37 UNDO_DELETE
= REPEAT_START
, // 3
44 UNDO_INSFMTATTR
, // 10
45 UNDO_INSDOKUMENT
, // 11
48 UNDO_TABLETOTEXT
, // 14
49 UNDO_TEXTTOTABLE
, // 15
52 UNDO_TABLEHEADLINE
, // 18
53 UNDO_INSSECTION
, // 19
54 UNDO_OUTLINE_LR
, // 20
55 UNDO_OUTLINE_UD
, // 21
59 UNDO_INSDRAWFMT
, // 25
60 UNDO_NUMORNONUM
, // 26
61 UNDO_INC_LEFTMARGIN
, // 27
62 UNDO_DEC_LEFTMARGIN
, // 28
63 UNDO_INSERTLABEL
, // 29
64 UNDO_SETNUMRULESTART
, // 30
67 UNDO_ACCEPT_REDLINE
, // 33
68 UNDO_REJECT_REDLINE
, // 34
69 UNDO_SPLIT_TABLE
, // 35
70 UNDO_DONTEXPAND
, // 36
71 UNDO_AUTOCORRECT
, // 37
72 UNDO_MERGE_TABLE
, // 38
73 UNDO_TRANSLITERATE
, // 39
75 UNDO_PASTE_CLIPBOARD
, // 40
77 UNDO_REPEAT_DUMMY_6
, // 42
78 UNDO_REPEAT_DUMMY_7
, // 43
79 UNDO_REPEAT_DUMMY_8
, // 44
80 UNDO_REPEAT_DUMMY_9
, // 45
83 UNDO_MOVE
= REPEAT_END
, // 46
84 UNDO_INSGLOSSARY
, // 47
85 UNDO_DELBOOKMARK
, // 48
86 UNDO_INSBOOKMARK
, // 49
89 UNDO_AUTOFORMAT
, // 52
91 UNDO_DELSECTION
, // 54
92 UNDO_CHGSECTION
, // 55
93 UNDO_CHGSECTIONPASSWD
, // 56
94 UNDO_SETDEFTATTR
, // 57
98 UNDO_DRAWUNGROUP
, // 61
99 UNDO_DRAWDELETE
, // 62
103 UNDO_TABLE_ATTR
, // 66
104 UNDO_TABLE_AUTOFMT
, // 67
105 UNDO_TABLE_INSCOL
, // 68
106 UNDO_TABLE_INSROW
, // 69
107 UNDO_TABLE_DELBOX
, // 70
108 UNDO_TABLE_SPLIT
, // 71
109 UNDO_TABLE_MERGE
, // 72
110 UNDO_TBLNUMFMT
, // 73
112 UNDO_CLEARTOXRANGE
, // 75
113 UNDO_TBLCPYTBL
, // 76
115 UNDO_INS_FROM_SHADOWCRSR
, // 78
119 UNDO_ENDNOTEINFO
, // 82
120 UNDO_COMPAREDOC
, // 83
121 UNDO_SETFLYFRMFMT
, // 84
122 UNDO_SETRUBYATTR
, // 85
124 UNDO_TMPAUTOCORR
, // 86
125 UNDO_TOXCHANGE
, // 87
126 UNDO_CREATE_PAGEDESC
, // 88
127 UNDO_CHANGE_PAGEDESC
, // 89
128 UNDO_DELETE_PAGEDESC
, // 90
129 UNDO_HEADER_FOOTER
, // 91 #i7983#
131 UNDO_TXTFMTCOL_CREATE
, // 93
132 UNDO_TXTFMTCOL_DELETE
, // 94
133 UNDO_TXTFMTCOL_RENAME
, // 95
134 UNDO_CHARFMT_CREATE
, // 96
135 UNDO_CHARFMT_DELETE
, // 97
136 UNDO_CHARFMT_RENAME
, // 98
137 UNDO_FRMFMT_CREATE
, // 99
138 UNDO_FRMFMT_DELETE
, // 100
139 UNDO_FRMFMT_RENAME
, // 101
140 UNDO_NUMRULE_CREATE
,// 102
141 UNDO_NUMRULE_DELETE
,// 103
142 UNDO_NUMRULE_RENAME
,// 104
143 UNDO_BOOKMARK_RENAME
, // 105
144 UNDO_INDEX_ENTRY_INSERT
, // 106
145 UNDO_INDEX_ENTRY_DELETE
, // 107
146 UNDO_COL_DELETE
, // 108
147 UNDO_ROW_DELETE
, // 109
148 UNDO_RENAME_PAGEDESC
, // 110
151 UNDO_FLYFRMFMT_TITLE
, // 112
152 UNDO_FLYFRMFMT_DESCRIPTION
, // 113
153 UNDO_STD_END
= UNDO_FLYFRMFMT_DESCRIPTION
,
156 UNDO_UI_REPLACE
= UNDO_STD_END
+ 1,
157 UNDO_UI_INSERT_PAGE_BREAK
,
158 UNDO_UI_INSERT_COLUMN_BREAK
,
160 UNDO_UI_INSERT_ENVELOPE
,
161 UNDO_UI_DRAG_AND_COPY
,
162 UNDO_UI_DRAG_AND_MOVE
,
163 UNDO_UI_INSERT_CHART
,
164 UNDO_UI_INSERT_FOOTNOTE
,
165 UNDO_UI_INSERT_URLBTN
,
166 UNDO_UI_INSERT_URLTXT
,
167 UNDO_UI_DELETE_INVISIBLECNTNT
,
168 UNDO_UI_REPLACE_STYLE
,
169 UNDO_UI_DELETE_PAGE_BREAK
,
170 UNDO_UI_TEXT_CORRECTION
,
176 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */