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 class  SwUndoId {
  EMPTY = 0 ,
  STD_BEGIN = 1 ,
  START = STD_BEGIN ,
  END ,
  REPEAT_START ,
  DELETE = REPEAT_START ,
  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 = 46 ,
  MOVE = REPEAT_END ,
  INSGLOSSARY ,
  DELBOOKMARK ,
  INSBOOKMARK ,
  SORT_TBL ,
  DELLAYFMT ,
  AUTOFORMAT ,
  REPLACE ,
  DELSECTION ,
  CHGSECTION ,
  SETDEFTATTR = 57 ,
  DELNUM ,
  DRAWUNDO ,
  DRAWGROUP ,
  DRAWUNGROUP ,
  DRAWDELETE ,
  REREAD ,
  DELGRF ,
  TABLE_ATTR = 66 ,
  TABLE_AUTOFMT ,
  TABLE_INSCOL ,
  TABLE_INSROW ,
  TABLE_DELBOX ,
  TABLE_SPLIT ,
  TABLE_MERGE ,
  TBLNUMFMT ,
  INSTOX ,
  CLEARTOXRANGE ,
  TBLCPYTBL ,
  CPYTBL ,
  INS_FROM_SHADOWCRSR ,
  CHAINE ,
  UNCHAIN ,
  FTNINFO ,
  COMPAREDOC = 83 ,
  SETFLYFRMFMT ,
  SETRUBYATTR ,
  TOXCHANGE = 87 ,
  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 = 122 ,
  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 ,
  OUTLINE_EDIT ,
  INSERT_PAGE_NUMBER ,
  UPDATE_FORM_FIELD ,
  UPDATE_FORM_FIELDS ,
  DELETE_FORM_FIELDS ,
  UPDATE_BOOKMARK ,
  UPDATE_BOOKMARKS ,
  DELETE_BOOKMARKS ,
  UPDATE_FIELD ,
  UPDATE_FIELDS ,
  DELETE_FIELDS ,
  UPDATE_SECTIONS ,
  CHANGE_THEME = 148 ,
  DELETE_SECTIONS = 149 ,
  FLYFRMFMT_DECORATIVE = 150
}
 

Functions

OUString GetUndoComment (SwUndoId eId)
 

Typedef Documentation

◆ SwUndoComments_t

typedef std::vector< OUString > SwUndoComments_t

Definition at line 26 of file swundo.hxx.

Enumeration Type Documentation

◆ SwUndoId

enum class 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 
OUTLINE_EDIT 
INSERT_PAGE_NUMBER 
UPDATE_FORM_FIELD 
UPDATE_FORM_FIELDS 
DELETE_FORM_FIELDS 
UPDATE_BOOKMARK 
UPDATE_BOOKMARKS 
DELETE_BOOKMARKS 
UPDATE_FIELD 
UPDATE_FIELDS 
DELETE_FIELDS 
UPDATE_SECTIONS 
CHANGE_THEME 
DELETE_SECTIONS 
FLYFRMFMT_DECORATIVE 

Definition at line 29 of file swundo.hxx.

Function Documentation

◆ GetUndoComment()

OUString GetUndoComment ( SwUndoId  eId)

Definition at line 261 of file undobj.cxx.

References ACCEPT_REDLINE, AUTOCORRECT, AUTOFORMAT, BOOKMARK_RENAME, CHAINE, CHANGE_PAGEDESC, CHANGE_THEME, CHARFMT_CREATE, CHARFMT_DELETE, CHARFMT_RENAME, CHGFTN, CHGSECTION, CLEARTOXRANGE, COL_DELETE, COMPAREDOC, CONFLICT, COPY, CPYTBL, CREATE_PAGEDESC, DEC_LEFTMARGIN, DELBOOKMARK, DELETE, DELETE_BOOKMARKS, DELETE_FIELDS, DELETE_FORM_FIELDS, DELETE_PAGEDESC, DELETE_SECTIONS, DELGRF, DELLAYFMT, DELNUM, DELSECTION, DONTEXPAND, DRAWDELETE, DRAWGROUP, DRAWUNDO, DRAWUNGROUP, EMPTY, END, FIELD, FLYFRMFMT_DECORATIVE, 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, INSERT_PAGE_NUMBER, INSERTLABEL, INSFMTATTR, INSGLOSSARY, INSLAYFMT, INSNUM, INSSECTION, INSTABLE, INSTOX, MERGE_TABLE, MOVE, MOVENUM, NUMDOWN, NUMORNONUM, NUMRULE_CREATE, NUMRULE_DELETE, NUMRULE_RENAME, NUMUP, OUTLINE_EDIT, 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, UNCHAIN, UPDATE_BOOKMARK, UPDATE_BOOKMARKS, UPDATE_FIELD, UPDATE_FIELDS, UPDATE_FORM_FIELD, UPDATE_FORM_FIELDS, and UPDATE_SECTIONS.

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