LibreOffice Module sw (master)  1
Typedefs | Enumerations | Functions
swundo.hxx File Reference
#include <vector>
#include <rtl/ustring.hxx>
Include dependency graph for swundo.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::vector< OUString > SwUndoComments_t
 

Enumerations

enum  SwUndoId {
  SwUndoId::EMPTY = 0,
  SwUndoId::STD_BEGIN = 1,
  SwUndoId::START = STD_BEGIN,
  SwUndoId::END,
  SwUndoId::REPEAT_START,
  SwUndoId::DELETE = REPEAT_START,
  SwUndoId::INSERT,
  SwUndoId::OVERWRITE,
  SwUndoId::SPLITNODE,
  SwUndoId::INSATTR,
  SwUndoId::SETFMTCOLL,
  SwUndoId::RESETATTR,
  SwUndoId::INSFMTATTR,
  SwUndoId::INSDOKUMENT,
  SwUndoId::COPY,
  SwUndoId::INSTABLE,
  SwUndoId::TABLETOTEXT,
  SwUndoId::TEXTTOTABLE,
  SwUndoId::SORT_TXT,
  SwUndoId::INSLAYFMT,
  SwUndoId::TABLEHEADLINE,
  SwUndoId::INSSECTION,
  SwUndoId::OUTLINE_LR,
  SwUndoId::OUTLINE_UD,
  SwUndoId::INSNUM,
  SwUndoId::NUMUP,
  SwUndoId::MOVENUM,
  SwUndoId::INSDRAWFMT,
  SwUndoId::NUMORNONUM,
  SwUndoId::INC_LEFTMARGIN,
  SwUndoId::DEC_LEFTMARGIN,
  SwUndoId::INSERTLABEL,
  SwUndoId::SETNUMRULESTART,
  SwUndoId::CHGFTN,
  SwUndoId::REDLINE,
  SwUndoId::ACCEPT_REDLINE,
  SwUndoId::REJECT_REDLINE,
  SwUndoId::SPLIT_TABLE,
  SwUndoId::DONTEXPAND,
  SwUndoId::AUTOCORRECT,
  SwUndoId::MERGE_TABLE,
  SwUndoId::TRANSLITERATE,
  SwUndoId::PASTE_CLIPBOARD,
  SwUndoId::TYPING,
  SwUndoId::REPEAT_END = 46,
  SwUndoId::MOVE = REPEAT_END,
  SwUndoId::INSGLOSSARY,
  SwUndoId::DELBOOKMARK,
  SwUndoId::INSBOOKMARK,
  SwUndoId::SORT_TBL,
  SwUndoId::DELLAYFMT,
  SwUndoId::AUTOFORMAT,
  SwUndoId::REPLACE,
  SwUndoId::DELSECTION,
  SwUndoId::CHGSECTION,
  SwUndoId::SETDEFTATTR = 57,
  SwUndoId::DELNUM,
  SwUndoId::DRAWUNDO,
  SwUndoId::DRAWGROUP,
  SwUndoId::DRAWUNGROUP,
  SwUndoId::DRAWDELETE,
  SwUndoId::REREAD,
  SwUndoId::DELGRF,
  SwUndoId::TABLE_ATTR = 66,
  SwUndoId::TABLE_AUTOFMT,
  SwUndoId::TABLE_INSCOL,
  SwUndoId::TABLE_INSROW,
  SwUndoId::TABLE_DELBOX,
  SwUndoId::TABLE_SPLIT,
  SwUndoId::TABLE_MERGE,
  SwUndoId::TBLNUMFMT,
  SwUndoId::INSTOX,
  SwUndoId::CLEARTOXRANGE,
  SwUndoId::TBLCPYTBL,
  SwUndoId::CPYTBL,
  SwUndoId::INS_FROM_SHADOWCRSR,
  SwUndoId::CHAINE,
  SwUndoId::UNCHAIN,
  SwUndoId::FTNINFO,
  SwUndoId::COMPAREDOC = 83,
  SwUndoId::SETFLYFRMFMT,
  SwUndoId::SETRUBYATTR,
  SwUndoId::TOXCHANGE = 87,
  SwUndoId::CREATE_PAGEDESC,
  SwUndoId::CHANGE_PAGEDESC,
  SwUndoId::DELETE_PAGEDESC,
  SwUndoId::HEADER_FOOTER,
  SwUndoId::FIELD,
  SwUndoId::TXTFMTCOL_CREATE,
  SwUndoId::TXTFMTCOL_DELETE,
  SwUndoId::TXTFMTCOL_RENAME,
  SwUndoId::CHARFMT_CREATE,
  SwUndoId::CHARFMT_DELETE,
  SwUndoId::CHARFMT_RENAME,
  SwUndoId::FRMFMT_CREATE,
  SwUndoId::FRMFMT_DELETE,
  SwUndoId::FRMFMT_RENAME,
  SwUndoId::NUMRULE_CREATE,
  SwUndoId::NUMRULE_DELETE,
  SwUndoId::NUMRULE_RENAME,
  SwUndoId::BOOKMARK_RENAME,
  SwUndoId::INDEX_ENTRY_INSERT,
  SwUndoId::INDEX_ENTRY_DELETE,
  SwUndoId::COL_DELETE,
  SwUndoId::ROW_DELETE,
  SwUndoId::RENAME_PAGEDESC,
  SwUndoId::NUMDOWN,
  SwUndoId::FLYFRMFMT_TITLE,
  SwUndoId::FLYFRMFMT_DESCRIPTION,
  SwUndoId::TBLSTYLE_CREATE,
  SwUndoId::TBLSTYLE_DELETE,
  SwUndoId::TBLSTYLE_UPDATE,
  SwUndoId::PARA_SIGN_ADD,
  SwUndoId::UI_REPLACE,
  SwUndoId::UI_INSERT_PAGE_BREAK,
  SwUndoId::UI_INSERT_COLUMN_BREAK,
  SwUndoId::UI_INSERT_ENVELOPE = 122,
  SwUndoId::UI_DRAG_AND_COPY,
  SwUndoId::UI_DRAG_AND_MOVE,
  SwUndoId::UI_INSERT_CHART,
  SwUndoId::UI_INSERT_FOOTNOTE,
  SwUndoId::UI_INSERT_URLBTN,
  SwUndoId::UI_INSERT_URLTXT,
  SwUndoId::UI_DELETE_INVISIBLECNTNT,
  SwUndoId::UI_REPLACE_STYLE,
  SwUndoId::UI_DELETE_PAGE_BREAK,
  SwUndoId::UI_TEXT_CORRECTION,
  SwUndoId::UI_TABLE_DELETE,
  SwUndoId::CONFLICT,
  SwUndoId::INSERT_FORM_FIELD
}
 

Functions

OUString GetUndoComment (SwUndoId eId)
 

Typedef Documentation

typedef std::vector< OUString > SwUndoComments_t

Definition at line 26 of file swundo.hxx.

Enumeration Type Documentation

enum SwUndoId
strong
Enumerator
EMPTY 
STD_BEGIN 
START 
END 
REPEAT_START 
DELETE 
INSERT 
OVERWRITE 
SPLITNODE 
INSATTR 
SETFMTCOLL 
RESETATTR 
INSFMTATTR 
INSDOKUMENT 
COPY 
INSTABLE 
TABLETOTEXT 
TEXTTOTABLE 
SORT_TXT 
INSLAYFMT 
TABLEHEADLINE 
INSSECTION 
OUTLINE_LR 
OUTLINE_UD 
INSNUM 
NUMUP 
MOVENUM 
INSDRAWFMT 
NUMORNONUM 
INC_LEFTMARGIN 
DEC_LEFTMARGIN 
INSERTLABEL 
SETNUMRULESTART 
CHGFTN 
REDLINE 
ACCEPT_REDLINE 
REJECT_REDLINE 
SPLIT_TABLE 
DONTEXPAND 
AUTOCORRECT 
MERGE_TABLE 
TRANSLITERATE 
PASTE_CLIPBOARD 
TYPING 
REPEAT_END 
MOVE 
INSGLOSSARY 
DELBOOKMARK 
INSBOOKMARK 
SORT_TBL 
DELLAYFMT 
AUTOFORMAT 
REPLACE 
DELSECTION 
CHGSECTION 
SETDEFTATTR 
DELNUM 
DRAWUNDO 
DRAWGROUP 
DRAWUNGROUP 
DRAWDELETE 
REREAD 
DELGRF 
TABLE_ATTR 
TABLE_AUTOFMT 
TABLE_INSCOL 
TABLE_INSROW 
TABLE_DELBOX 
TABLE_SPLIT 
TABLE_MERGE 
TBLNUMFMT 
INSTOX 
CLEARTOXRANGE 
TBLCPYTBL 
CPYTBL 
INS_FROM_SHADOWCRSR 
CHAINE 
UNCHAIN 
FTNINFO 
COMPAREDOC 
SETFLYFRMFMT 
SETRUBYATTR 
TOXCHANGE 
CREATE_PAGEDESC 
CHANGE_PAGEDESC 
DELETE_PAGEDESC 
HEADER_FOOTER 
FIELD 
TXTFMTCOL_CREATE 
TXTFMTCOL_DELETE 
TXTFMTCOL_RENAME 
CHARFMT_CREATE 
CHARFMT_DELETE 
CHARFMT_RENAME 
FRMFMT_CREATE 
FRMFMT_DELETE 
FRMFMT_RENAME 
NUMRULE_CREATE 
NUMRULE_DELETE 
NUMRULE_RENAME 
BOOKMARK_RENAME 
INDEX_ENTRY_INSERT 
INDEX_ENTRY_DELETE 
COL_DELETE 
ROW_DELETE 
RENAME_PAGEDESC 
NUMDOWN 
FLYFRMFMT_TITLE 
FLYFRMFMT_DESCRIPTION 
TBLSTYLE_CREATE 
TBLSTYLE_DELETE 
TBLSTYLE_UPDATE 
PARA_SIGN_ADD 
UI_REPLACE 
UI_INSERT_PAGE_BREAK 
UI_INSERT_COLUMN_BREAK 
UI_INSERT_ENVELOPE 
UI_DRAG_AND_COPY 
UI_DRAG_AND_MOVE 
UI_INSERT_CHART 
UI_INSERT_FOOTNOTE 
UI_INSERT_URLBTN 
UI_INSERT_URLTXT 
UI_DELETE_INVISIBLECNTNT 
UI_REPLACE_STYLE 
UI_DELETE_PAGE_BREAK 
UI_TEXT_CORRECTION 
UI_TABLE_DELETE 
CONFLICT 
INSERT_FORM_FIELD 

Definition at line 29 of file swundo.hxx.

Function Documentation

OUString GetUndoComment ( SwUndoId  eId)

Definition at line 265 of file undobj.cxx.

References ACCEPT_REDLINE, AUTOCORRECT, AUTOFORMAT, BOOKMARK_RENAME, CHAINE, CHANGE_PAGEDESC, CHARFMT_CREATE, CHARFMT_DELETE, CHARFMT_RENAME, CHGFTN, CHGSECTION, CLEARTOXRANGE, COL_DELETE, COMPAREDOC, CONFLICT, COPY, CPYTBL, CREATE_PAGEDESC, DEC_LEFTMARGIN, DELBOOKMARK, DELETE, DELETE_PAGEDESC, DELGRF, DELLAYFMT, DELNUM, DELSECTION, DONTEXPAND, DRAWDELETE, DRAWGROUP, DRAWUNDO, DRAWUNGROUP, EMPTY, END, FIELD, FLYFRMFMT_DESCRIPTION, FLYFRMFMT_TITLE, FRMFMT_CREATE, FRMFMT_DELETE, FRMFMT_RENAME, FTNINFO, HEADER_FOOTER, INC_LEFTMARGIN, INDEX_ENTRY_DELETE, INDEX_ENTRY_INSERT, INS_FROM_SHADOWCRSR, INSATTR, INSBOOKMARK, INSDOKUMENT, INSDRAWFMT, INSERT, INSERT_FORM_FIELD, INSERTLABEL, INSFMTATTR, INSGLOSSARY, INSLAYFMT, INSNUM, INSSECTION, INSTABLE, INSTOX, MERGE_TABLE, MOVE, MOVENUM, NUMDOWN, NUMORNONUM, NUMRULE_CREATE, NUMRULE_DELETE, NUMRULE_RENAME, NUMUP, OUTLINE_LR, OUTLINE_UD, OVERWRITE, PARA_SIGN_ADD, PASTE_CLIPBOARD, REDLINE, REJECT_REDLINE, RENAME_PAGEDESC, REPLACE, REREAD, RESETATTR, ROW_DELETE, SAL_INFO, SETDEFTATTR, SETFLYFRMFMT, SETFMTCOLL, SETNUMRULESTART, SETRUBYATTR, SORT_TBL, SORT_TXT, SPLIT_TABLE, SPLITNODE, START, SwResId(), TABLE_ATTR, TABLE_AUTOFMT, TABLE_DELBOX, TABLE_INSCOL, TABLE_INSROW, TABLE_MERGE, TABLE_SPLIT, TABLEHEADLINE, TABLETOTEXT, TBLCPYTBL, TBLNUMFMT, TBLSTYLE_CREATE, TBLSTYLE_DELETE, TBLSTYLE_UPDATE, TEXTTOTABLE, TOXCHANGE, TRANSLITERATE, TXTFMTCOL_CREATE, TXTFMTCOL_DELETE, TXTFMTCOL_RENAME, TYPING, UI_DELETE_INVISIBLECNTNT, UI_DELETE_PAGE_BREAK, UI_DRAG_AND_COPY, UI_DRAG_AND_MOVE, UI_INSERT_CHART, UI_INSERT_COLUMN_BREAK, UI_INSERT_ENVELOPE, UI_INSERT_FOOTNOTE, UI_INSERT_PAGE_BREAK, UI_INSERT_URLBTN, UI_INSERT_URLTXT, UI_REPLACE, UI_REPLACE_STYLE, UI_TABLE_DELETE, UI_TEXT_CORRECTION, and UNCHAIN.

Referenced by sw::UndoManager::EndUndo(), SwUndo::GetComment(), and sw::UndoManager::StartUndo().