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 .
24 #include <rtl/ustring.hxx>
27 typedef ::std::vector
< OUString
> SwUndoComments_t
;
30 // The IDs for StdActions.
35 UNDO_START
= UNDO_STD_BEGIN
, // 1
37 REPEAT_START
, // All UndoIDs between REPEAT_START and
38 // REPEAT_END are Repeat-enabled !!
39 UNDO_DELETE
= REPEAT_START
, // 3
46 UNDO_INSFMTATTR
, // 10
47 UNDO_INSDOKUMENT
, // 11
50 UNDO_TABLETOTEXT
, // 14
51 UNDO_TEXTTOTABLE
, // 15
54 UNDO_TABLEHEADLINE
, // 18
55 UNDO_INSSECTION
, // 19
56 UNDO_OUTLINE_LR
, // 20
57 UNDO_OUTLINE_UD
, // 21
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
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
79 UNDO_REPEAT_DUMMY_6
, // 42
80 UNDO_REPEAT_DUMMY_7
, // 43
81 UNDO_REPEAT_DUMMY_8
, // 44
82 UNDO_REPEAT_DUMMY_9
, // 45
85 UNDO_MOVE
= REPEAT_END
, // 46
86 UNDO_INSGLOSSARY
, // 47
87 UNDO_DELBOOKMARK
, // 48
88 UNDO_INSBOOKMARK
, // 49
91 UNDO_AUTOFORMAT
, // 52
93 UNDO_DELSECTION
, // 54
94 UNDO_CHGSECTION
, // 55
95 UNDO_CHGSECTIONPASSWD
, // 56
96 UNDO_SETDEFTATTR
, // 57
100 UNDO_DRAWUNGROUP
, // 61
101 UNDO_DRAWDELETE
, // 62
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
114 UNDO_CLEARTOXRANGE
, // 75
115 UNDO_TBLCPYTBL
, // 76
117 UNDO_INS_FROM_SHADOWCRSR
, // 78
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#
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
153 UNDO_FLYFRMFMT_TITLE
, // 112
154 UNDO_FLYFRMFMT_DESCRIPTION
, // 113
155 UNDO_STD_END
= UNDO_FLYFRMFMT_DESCRIPTION
,
158 UNDO_UI_REPLACE
= UNDO_STD_END
+ 1,
159 UNDO_UI_INSERT_PAGE_BREAK
,
160 UNDO_UI_INSERT_COLUMN_BREAK
,
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
178 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */