LibreOffice Module editeng (master) 1
|
#include <editund2.hxx>
Public Member Functions | |
EditUndo (sal_uInt16 nI, EditEngine *pEE) | |
virtual | ~EditUndo () override |
EditEngine * | GetEditEngine () |
virtual void | Undo () override=0 |
virtual void | Redo () override=0 |
virtual bool | CanRepeat (SfxRepeatTarget &) const override |
virtual OUString | GetComment () const override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
sal_uInt16 | GetId () const |
Public Member Functions inherited from SfxUndoAction | |
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 |
const DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Attributes | |
sal_uInt16 | nId |
ViewShellId | mnViewShellId |
EditEngine * | mpEditEngine |
Definition at line 46 of file editund2.hxx.
EditUndo::EditUndo | ( | sal_uInt16 | nI, |
EditEngine * | pEE | ||
) |
Definition at line 121 of file editundo.cxx.
References EditEngine::GetActiveView(), EditView::GetImpEditView(), ImpEditView::GetViewShell(), OutlinerViewShell::GetViewShellId(), mnViewShellId, mpEditEngine, and nId.
|
overridevirtual |
Definition at line 130 of file editundo.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 140 of file editundo.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 145 of file editundo.cxx.
References GetId(), EditEngine::GetUndoComment(), and mpEditEngine.
|
inline |
Definition at line 57 of file editund2.hxx.
Referenced by EditUndoSetAttribs::ImpSetSelection(), EditUndoDelContent::Redo(), EditUndoConnectParas::Redo(), EditUndoSplitPara::Redo(), EditUndoInsertChars::Redo(), EditUndoRemoveChars::Redo(), EditUndoInsertFeature::Redo(), EditUndoMoveParagraphs::Redo(), EditUndoSetStyleSheet::Redo(), EditUndoSetParaAttribs::Redo(), EditUndoSetAttribs::Redo(), EditUndoTransliteration::Redo(), EditUndoDelContent::Undo(), EditUndoConnectParas::Undo(), EditUndoSplitPara::Undo(), EditUndoInsertChars::Undo(), EditUndoRemoveChars::Undo(), EditUndoInsertFeature::Undo(), EditUndoMoveParagraphs::Undo(), EditUndoSetStyleSheet::Undo(), EditUndoSetParaAttribs::Undo(), EditUndoSetAttribs::Undo(), EditUndoTransliteration::Undo(), and EditUndoMarkSelection::Undo().
sal_uInt16 EditUndo::GetId | ( | ) | const |
Definition at line 135 of file editundo.cxx.
References nId.
Referenced by GetComment(), and OLUndoExpand::Restore().
|
overridevirtual |
See SfxUndoAction::GetViewShellId().
Reimplemented from SfxUndoAction.
Definition at line 155 of file editundo.cxx.
References mnViewShellId.
|
overridepure virtual |
Reimplemented from SfxUndoAction.
Implemented in EditUndoDelContent, EditUndoConnectParas, EditUndoSplitPara, EditUndoInsertChars, EditUndoRemoveChars, EditUndoInsertFeature, EditUndoMoveParagraphs, EditUndoSetStyleSheet, EditUndoSetParaAttribs, EditUndoSetAttribs, EditUndoTransliteration, EditUndoMarkSelection, OutlinerUndoChangeParaFlags, OutlinerUndoChangeParaNumberingRestart, OutlinerUndoChangeDepth, OutlinerUndoCheckPara, and OLUndoExpand.
References GetId().
|
overridepure virtual |
Reimplemented from SfxUndoAction.
Implemented in EditUndoDelContent, EditUndoConnectParas, EditUndoSplitPara, EditUndoInsertChars, EditUndoRemoveChars, EditUndoInsertFeature, EditUndoMoveParagraphs, EditUndoSetStyleSheet, EditUndoSetParaAttribs, EditUndoSetAttribs, EditUndoTransliteration, EditUndoMarkSelection, OutlinerUndoChangeParaFlags, OutlinerUndoChangeParaNumberingRestart, OutlinerUndoChangeDepth, OutlinerUndoCheckPara, and OLUndoExpand.
|
private |
Definition at line 50 of file editund2.hxx.
Referenced by EditUndo(), and GetViewShellId().
|
private |
Definition at line 51 of file editund2.hxx.
Referenced by EditUndo(), and GetComment().
|
private |
Definition at line 49 of file editund2.hxx.
Referenced by GetId().