LibreOffice Module editeng (master) 1
|
#include <outlundo.hxx>
Public Member Functions | |
OutlinerUndoChangeParaFlags (Outliner *pOutliner, sal_Int32 nPara, ParaFlag nOldFlags, ParaFlag nNewFlags) | |
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 Member Functions | |
void | ImplChangeFlags (ParaFlag nFlags) |
Private Attributes | |
sal_Int32 | mnPara |
ParaFlag | mnOldFlags |
ParaFlag | mnNewFlags |
Definition at line 36 of file outlundo.hxx.
OutlinerUndoChangeParaFlags::OutlinerUndoChangeParaFlags | ( | Outliner * | pOutliner, |
sal_Int32 | nPara, | ||
ParaFlag | nOldFlags, | ||
ParaFlag | nNewFlags | ||
) |
Definition at line 33 of file outlundo.cxx.
|
private |
Definition at line 48 of file outlundo.cxx.
References Outliner::DepthChangedHdl(), Paragraph::GetDepth(), OutlinerUndoBase::GetOutliner(), Outliner::GetParagraph(), mnPara, Outliner::nDepthChangedHdlPrevDepth, and Paragraph::nFlags.
|
overridevirtual |
Implements EditUndo.
Definition at line 43 of file outlundo.cxx.
References ImplChangeFlags(), and mnNewFlags.
|
overridevirtual |
Implements EditUndo.
Definition at line 38 of file outlundo.cxx.
References ImplChangeFlags(), and mnOldFlags.
|
private |
Definition at line 41 of file outlundo.hxx.
Referenced by Redo().
|
private |
Definition at line 40 of file outlundo.hxx.
Referenced by Undo().
|
private |
Definition at line 39 of file outlundo.hxx.
Referenced by ImplChangeFlags().