LibreOffice Module editeng (master) 1
|
#include <outlundo.hxx>
Public Member Functions | |
OutlinerUndoChangeDepth (Outliner *pOutliner, sal_Int32 nPara, sal_Int16 nOldDepth, sal_Int16 nNewDepth) | |
virtual void | Undo () override |
virtual void | Redo () override |
Public Member Functions inherited from OutlinerUndoBase | |
OutlinerUndoBase (sal_uInt16 nId, Outliner *pOutliner) | |
Outliner * | GetOutliner () const |
Public Member Functions inherited from EditUndo | |
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_Int32 | mnPara |
sal_Int16 | mnOldDepth |
sal_Int16 | mnNewDepth |
Definition at line 76 of file outlundo.hxx.
OutlinerUndoChangeDepth::OutlinerUndoChangeDepth | ( | Outliner * | pOutliner, |
sal_Int32 | nPara, | ||
sal_Int16 | nOldDepth, | ||
sal_Int16 | nNewDepth | ||
) |
Definition at line 90 of file outlundo.cxx.
|
overridevirtual |
Implements EditUndo.
Definition at line 100 of file outlundo.cxx.
References OutlinerUndoBase::GetOutliner(), Outliner::ImplInitDepth(), mnNewDepth, and mnPara.
|
overridevirtual |
Implements EditUndo.
Definition at line 95 of file outlundo.cxx.
References OutlinerUndoBase::GetOutliner(), Outliner::ImplInitDepth(), mnOldDepth, and mnPara.
|
private |
Definition at line 81 of file outlundo.hxx.
Referenced by Redo().
|
private |
Definition at line 80 of file outlundo.hxx.
Referenced by Undo().
|
private |
Definition at line 79 of file outlundo.hxx.