LibreOffice Module svl (master) 1
|
#include <undo.hxx>
Public Member Functions | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual void | Undo () |
virtual void | UndoWithContext (SfxUndoContext &i_context) |
virtual void | Redo () |
virtual void | RedoWithContext (SfxUndoContext &i_context) |
virtual void | Repeat (SfxRepeatTarget &) |
virtual bool | CanRepeat (SfxRepeatTarget &) const |
virtual bool | Merge (SfxUndoAction *pNextAction) |
virtual OUString | GetComment () const |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) const |
virtual ViewShellId | GetViewShellId () const |
ID of the view shell that created this undo action. More... | |
const DateTime & | GetDateTime () const |
Timestamp when this undo item was created. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Member Functions | |
SfxUndoAction (const SfxUndoAction &)=delete | |
SfxUndoAction & | operator= (const SfxUndoAction &)=delete |
Private Attributes | |
DateTime | m_aDateTime |
SfxUndoAction::SfxUndoAction | ( | ) |
Definition at line 53 of file undo.cxx.
References DateTime::ConvertToUTC(), and m_aDateTime.
|
privatedelete |
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 121 of file undo.cxx.
Referenced by SfxUndoManager::Repeat().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 126 of file undo.cxx.
References GetComment(), DateTime::GetUNODateTime(), GetViewShellId(), m_aDateTime, and utl::toISO8601().
Referenced by SfxListUndoAction::dumpAsXml().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 66 of file undo.cxx.
Referenced by dumpAsXml(), GetRepeatComment(), SfxUndoManager::ImplRedo(), SfxUndoManager::ImplUndo(), and lcl_ActionToJson().
const DateTime & SfxUndoAction::GetDateTime | ( | ) | const |
Timestamp when this undo item was created.
Definition at line 77 of file undo.cxx.
References m_aDateTime.
Referenced by lcl_ActionToJson().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 82 of file undo.cxx.
References GetComment().
|
virtual |
ID of the view shell that created this undo action.
Reimplemented in SfxListUndoAction.
Definition at line 72 of file undo.cxx.
Referenced by dumpAsXml(), and lcl_ActionToJson().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 60 of file undo.cxx.
Referenced by SfxUndoManager::ImplAddUndoAction_NoNotify().
|
privatedelete |
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 101 of file undo.cxx.
Referenced by SfxUndoManager::ImplRedo(), and RedoWithContext().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 108 of file undo.cxx.
References Redo().
Referenced by SfxUndoManager::ImplRedo().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 114 of file undo.cxx.
Referenced by SfxUndoManager::Repeat().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 88 of file undo.cxx.
Referenced by SfxUndoManager::ImplUndo(), and UndoWithContext().
|
virtual |
Reimplemented in SfxListUndoAction.
Definition at line 95 of file undo.cxx.
References Undo().
Referenced by SfxUndoManager::ImplUndo().
|
private |
Definition at line 82 of file undo.hxx.
Referenced by dumpAsXml(), GetDateTime(), and SfxUndoAction().