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_SWHXX
20 #define INCLUDED_SW_INC_SWHXX
24 #include <rtl/ustring.hxx>
26 typedef std::vector
< OUString
> SwUndoComments_t
;
28 // The IDs for StdActions.
33 START
= STD_BEGIN
, // 1
36 REPEAT_START
, // All UndoIDs between REPEAT_START and
37 // REPEAT_END are Repeat-enabled !!
38 DELETE
= REPEAT_START
, // 3
65 SETNUMRULESTART
, // 30
75 PASTE_CLIPBOARD
, // 40
79 MOVE
= REPEAT_END
, // 46
89 SETDEFTATTR
= 57, // 57
97 TABLE_ATTR
= 66, // 66
109 INS_FROM_SHADOWCRSR
, // 78
113 COMPAREDOC
= 83, // 83
116 TOXCHANGE
= 87, // 87
117 CREATE_PAGEDESC
, // 88
118 CHANGE_PAGEDESC
, // 89
119 DELETE_PAGEDESC
, // 90
120 HEADER_FOOTER
, // 91 #i7983#
122 TXTFMTCOL_CREATE
, // 93
123 TXTFMTCOL_DELETE
, // 94
124 TXTFMTCOL_RENAME
, // 95
125 CHARFMT_CREATE
, // 96
126 CHARFMT_DELETE
, // 97
127 CHARFMT_RENAME
, // 98
129 FRMFMT_DELETE
, // 100
130 FRMFMT_RENAME
, // 101
131 NUMRULE_CREATE
, // 102
132 NUMRULE_DELETE
, // 103
133 NUMRULE_RENAME
, // 104
134 BOOKMARK_RENAME
, // 105
135 INDEX_ENTRY_INSERT
, // 106
136 INDEX_ENTRY_DELETE
, // 107
139 RENAME_PAGEDESC
, // 110
142 FLYFRMFMT_TITLE
, // 112
143 FLYFRMFMT_DESCRIPTION
, // 113
144 TBLSTYLE_CREATE
, // 114
145 TBLSTYLE_DELETE
, // 115
146 TBLSTYLE_UPDATE
, // 116
147 PARA_SIGN_ADD
, // 117
151 UI_INSERT_PAGE_BREAK
, // 119
152 UI_INSERT_COLUMN_BREAK
, // 120
153 UI_INSERT_ENVELOPE
= 122, // 122
154 UI_DRAG_AND_COPY
, // 123
155 UI_DRAG_AND_MOVE
, // 124
156 UI_INSERT_CHART
, // 125
157 UI_INSERT_FOOTNOTE
, // 126
158 UI_INSERT_URLBTN
, // 127
159 UI_INSERT_URLTXT
, // 128
160 UI_DELETE_INVISIBLECNTNT
, // 129
161 UI_REPLACE_STYLE
, // 130
162 UI_DELETE_PAGE_BREAK
, // 131
163 UI_TEXT_CORRECTION
, // 132
164 UI_TABLE_DELETE
, // 133
167 INSERT_FORM_FIELD
// 135
170 OUString
GetUndoComment(SwUndoId eId
);
174 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */