Files
libreoffice/sw/inc/swundo.hxx

181 lines
7.3 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
re-base on ALv2 code. Includes: Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2011-03-31 10:05:04 +02:00
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SW_INC_SWUNDO_HXX
#define INCLUDED_SW_INC_SWUNDO_HXX
#include <vector>
#include <rtl/ustring.hxx>
typedef std::vector< OUString > SwUndoComments_t;
2000-09-18 16:15:01 +00:00
2011-04-18 23:11:33 +02:00
// The IDs for StdActions.
enum SwUndoId
2000-09-18 16:15:01 +00:00
{
UNDO_EMPTY = 0,
2000-09-18 16:15:01 +00:00
UNDO_STD_BEGIN = 1,
UNDO_START = UNDO_STD_BEGIN, // 1
UNDO_END, // 2
2011-04-18 23:11:33 +02:00
REPEAT_START, // All UndoIDs between REPEAT_START and
// REPEAT_END are Repeat-enabled !!
2000-09-18 16:15:01 +00:00
UNDO_DELETE = REPEAT_START, // 3
UNDO_INSERT, // 4
UNDO_OVERWRITE, // 5
UNDO_SPLITNODE, // 6
UNDO_INSATTR, // 7
UNDO_SETFMTCOLL, // 8
UNDO_RESETATTR, // 9
UNDO_INSFMTATTR, // 10
UNDO_INSDOKUMENT, // 11
UNDO_COPY, // 12
UNDO_INSTABLE, // 13
UNDO_TABLETOTEXT, // 14
UNDO_TEXTTOTABLE, // 15
UNDO_SORT_TXT, // 16
UNDO_INSLAYFMT, // 17
UNDO_TABLEHEADLINE, // 18
UNDO_INSSECTION, // 19
UNDO_OUTLINE_LR, // 20
UNDO_OUTLINE_UD, // 21
UNDO_INSNUM, // 22
UNDO_NUMUP, // 23
2000-09-18 16:15:01 +00:00
UNDO_MOVENUM, // 24
UNDO_INSDRAWFMT, // 25
UNDO_NUMORNONUM, // 26
UNDO_INC_LEFTMARGIN, // 27
UNDO_DEC_LEFTMARGIN, // 28
UNDO_INSERTLABEL, // 29
UNDO_SETNUMRULESTART, // 30
UNDO_CHGFTN, // 31
UNDO_REDLINE, // 32
UNDO_ACCEPT_REDLINE, // 33
UNDO_REJECT_REDLINE, // 34
UNDO_SPLIT_TABLE, // 35
UNDO_DONTEXPAND, // 36
UNDO_AUTOCORRECT, // 37
UNDO_MERGE_TABLE, // 38
2000-12-21 08:32:45 +00:00
UNDO_TRANSLITERATE, // 39
2000-09-18 16:15:01 +00:00
UNDO_PASTE_CLIPBOARD, // 40
UNDO_TYPING, // 41
2000-09-18 16:15:01 +00:00
UNDO_REPEAT_DUMMY_6, // 42
UNDO_REPEAT_DUMMY_7, // 43
UNDO_REPEAT_DUMMY_8, // 44
UNDO_REPEAT_DUMMY_9, // 45
REPEAT_END,
UNDO_MOVE = REPEAT_END, // 46
UNDO_INSGLOSSARY, // 47
UNDO_DELBOOKMARK, // 48
UNDO_INSBOOKMARK, // 49
UNDO_SORT_TBL, // 50
UNDO_DELLAYFMT, // 51
UNDO_AUTOFORMAT, // 52
UNDO_REPLACE, // 53
UNDO_DELSECTION, // 54
UNDO_CHGSECTION, // 55
UNDO_CHGSECTIONPASSWD, // 56
UNDO_SETDEFTATTR, // 57
UNDO_DELNUM, // 58
UNDO_DRAWUNDO, // 59
UNDO_DRAWGROUP, // 60
UNDO_DRAWUNGROUP, // 61
UNDO_DRAWDELETE, // 62
UNDO_REREAD, // 63
UNDO_DELGRF, // 64
UNDO_DELOLE, // 65
UNDO_TABLE_ATTR, // 66
UNDO_TABLE_AUTOFMT, // 67
UNDO_TABLE_INSCOL, // 68
UNDO_TABLE_INSROW, // 69
UNDO_TABLE_DELBOX, // 70
UNDO_TABLE_SPLIT, // 71
UNDO_TABLE_MERGE, // 72
UNDO_TBLNUMFMT, // 73
UNDO_INSTOX, // 74
UNDO_CLEARTOXRANGE, // 75
UNDO_TBLCPYTBL, // 76
UNDO_CPYTBL, // 77
UNDO_INS_FROM_SHADOWCRSR, // 78
UNDO_CHAINE, // 79
UNDO_UNCHAIN, // 80
UNDO_FTNINFO, // 81
UNDO_ENDNOTEINFO, // 82
UNDO_COMPAREDOC, // 83
UNDO_SETFLYFRMFMT, // 84
2001-01-23 19:23:33 +00:00
UNDO_SETRUBYATTR, // 85
2000-09-18 16:15:01 +00:00
UNDO_TMPAUTOCORR, // 86
UNDO_TOXCHANGE, // 87
UNDO_CREATE_PAGEDESC, // 88
UNDO_CHANGE_PAGEDESC, // 89
UNDO_DELETE_PAGEDESC, // 90
UNDO_HEADER_FOOTER, // 91 #i7983#
UNDO_FIELD, // 92
UNDO_TXTFMTCOL_CREATE, // 93
UNDO_TXTFMTCOL_DELETE, // 94
UNDO_TXTFMTCOL_RENAME, // 95
UNDO_CHARFMT_CREATE, // 96
UNDO_CHARFMT_DELETE, // 97
UNDO_CHARFMT_RENAME, // 98
UNDO_FRMFMT_CREATE, // 99
UNDO_FRMFMT_DELETE, // 100
UNDO_FRMFMT_RENAME, // 101
UNDO_NUMRULE_CREATE,// 102
UNDO_NUMRULE_DELETE,// 103
UNDO_NUMRULE_RENAME,// 104
UNDO_BOOKMARK_RENAME, // 105
UNDO_INDEX_ENTRY_INSERT, // 106
UNDO_INDEX_ENTRY_DELETE, // 107
UNDO_COL_DELETE, // 108
UNDO_ROW_DELETE, // 109
UNDO_RENAME_PAGEDESC, // 110
UNDO_NUMDOWN, // 111
// --> #i73249#
CWS-TOOLING: integrate CWS sw32a11y01 2009-08-27 10:11:46 +0200 hde r275457 : new testcase i103265 2009-08-27 08:24:31 +0200 hde r275454 : new testcase i103265 2009-08-27 08:23:05 +0200 hde r275453 : new document for testcase i103265 2009-08-26 13:43:33 +0200 hde r275421 : added new autotest 2009-08-26 13:36:28 +0200 hde r275420 : added new autotest 2009-08-18 15:41:18 +0200 od r275113 : #i104300# method <SwEditWin::RequestHelp(..)> - improve help tip for hyperlinks to cross-reference bookmarks. 2009-08-10 15:18:41 +0200 od r274816 : #i73249# method <SwFrameShell::Execute(..)> - no update of fly frame manager on dialog "Title and Description" 2009-08-10 14:24:15 +0200 od r274813 : #i92125# correction of end of file - missing newline end 2009-08-10 14:10:14 +0200 od r274811 : #i92125# correction of end of file - newline missing 2009-08-10 14:00:30 +0200 od r274808 : #i92125# - correct end of file - new line missing 2009-08-10 09:12:30 +0200 od r274794 : CWS-TOOLING: rebase CWS sw32a11y01 to trunk@274622 (milestone: DEV300:m54) 2009-08-07 15:52:59 +0200 od r274775 : #i73249# minor adjustment due to compiler warning 2009-08-07 15:40:38 +0200 od r274774 : #i92125# method <MarkManager::deleteMarks(..)> - do not delete cross-reference bookmark, if deletion occurs inside a certain node 2009-08-06 12:53:05 +0200 od r274717 : #i92125# method <MarkManager::deleteMarks(..) - no move of position for cross-reference bookmark, if move occurs inside certain node. 2009-08-06 12:50:27 +0200 od r274716 : #i92125# method <SwUndoSaveCntnt::DelCntntIndex(..)> - keep cross-reference bookmarks, if deletion occurs inside a certain node. 2009-08-06 09:53:29 +0200 od r274705 : #i103265# method <SwTOXPara::GetURL()> - For outline and template entries create link to bookmark. The bookmark of type CROSSREF_HEADING_BOOKMARK is created, if needed 2009-07-22 13:57:04 +0200 od r274236 : #i73249# adjustment for export of svg:title and svg:description 2009-07-22 13:51:58 +0200 od r274234 : #i73249# adjust and enhance import/export of svg:title and svg:description for Writer's text frames, graphics and embedded objects 2009-07-21 10:26:27 +0200 od r274168 : #i73249# implement support for attributes Title and Description for text frames, graphics and embedded objects in Writer - core, UNO-API, undo/redo and UI 2009-07-21 10:05:15 +0200 od r274164 : #i73249# new optional properties Title and Description as basis frame properties in text documents 2009-07-13 12:19:54 +0200 od r273928 : #i73249# Implementation of Undo/Redo of drawing object's name, title and description
2009-08-27 11:59:20 +00:00
UNDO_FLYFRMFMT_TITLE, // 112
UNDO_FLYFRMFMT_DESCRIPTION, // 113
UNDO_TBLSTYLE_CREATE, // 114
UNDO_TBLSTYLE_DELETE, // 115
UNDO_TBLSTYLE_UPDATE, // 116
UNDO_STD_END= UNDO_TBLSTYLE_UPDATE,
// UI undo ID's...
UNDO_UI_REPLACE = UNDO_STD_END + 1,
UNDO_UI_INSERT_PAGE_BREAK,
UNDO_UI_INSERT_COLUMN_BREAK,
UNDO_UI_PLAY_MACRO,
UNDO_UI_INSERT_ENVELOPE,
UNDO_UI_DRAG_AND_COPY,
UNDO_UI_DRAG_AND_MOVE,
UNDO_UI_INSERT_CHART,
UNDO_UI_INSERT_FOOTNOTE,
UNDO_UI_INSERT_URLBTN,
UNDO_UI_INSERT_URLTXT,
UNDO_UI_DELETE_INVISIBLECNTNT,
UNDO_UI_REPLACE_STYLE,
UNDO_UI_DELETE_PAGE_BREAK,
UNDO_UI_TEXT_CORRECTION,
UNDO_UI_TABLE_DELETE,
UNDO_CONFLICT
2000-09-18 16:15:01 +00:00
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */