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
84 MOVE
= REPEAT_END
, // 46
94 CHGSECTIONPASSWD
, // 56
116 INS_FROM_SHADOWCRSR
, // 78
126 CREATE_PAGEDESC
, // 88
127 CHANGE_PAGEDESC
, // 89
128 DELETE_PAGEDESC
, // 90
129 HEADER_FOOTER
, // 91 #i7983#
131 TXTFMTCOL_CREATE
, // 93
132 TXTFMTCOL_DELETE
, // 94
133 TXTFMTCOL_RENAME
, // 95
134 CHARFMT_CREATE
, // 96
135 CHARFMT_DELETE
, // 97
136 CHARFMT_RENAME
, // 98
138 FRMFMT_DELETE
, // 100
139 FRMFMT_RENAME
, // 101
140 NUMRULE_CREATE
, // 102
141 NUMRULE_DELETE
, // 103
142 NUMRULE_RENAME
, // 104
143 BOOKMARK_RENAME
, // 105
144 INDEX_ENTRY_INSERT
, // 106
145 INDEX_ENTRY_DELETE
, // 107
148 RENAME_PAGEDESC
, // 110
151 FLYFRMFMT_TITLE
, // 112
152 FLYFRMFMT_DESCRIPTION
, // 113
153 TBLSTYLE_CREATE
, // 114
154 TBLSTYLE_DELETE
, // 115
155 TBLSTYLE_UPDATE
, // 116
156 STD_END
= TBLSTYLE_UPDATE
,
159 UI_REPLACE
= STD_END
+ 1,
160 UI_INSERT_PAGE_BREAK
,
161 UI_INSERT_COLUMN_BREAK
,
170 UI_DELETE_INVISIBLECNTNT
,
172 UI_DELETE_PAGE_BREAK
,
180 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */