LibreOffice Module editeng (master) 1
|
#include <outlundo.hxx>
Classes | |
struct | ParaRestartData |
Public Member Functions | |
OutlinerUndoChangeParaNumberingRestart (Outliner *pOutliner, sal_Int32 nPara, sal_Int16 nOldNumberingStartValue, sal_Int16 mnNewNumberingStartValue, bool bOldbParaIsNumberingRestart, bool bNewParaIsNumberingRestart) | |
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 | ImplApplyData (const ParaRestartData &rData) |
Private Attributes | |
sal_Int32 | mnPara |
ParaRestartData | maUndoData |
ParaRestartData | maRedoData |
Definition at line 52 of file outlundo.hxx.
OutlinerUndoChangeParaNumberingRestart::OutlinerUndoChangeParaNumberingRestart | ( | Outliner * | pOutliner, |
sal_Int32 | nPara, | ||
sal_Int16 | nOldNumberingStartValue, | ||
sal_Int16 | mnNewNumberingStartValue, | ||
bool | bOldbParaIsNumberingRestart, | ||
bool | bNewParaIsNumberingRestart | ||
) |
Definition at line 62 of file outlundo.cxx.
References maRedoData, maUndoData, OutlinerUndoChangeParaNumberingRestart::ParaRestartData::mbParaIsNumberingRestart, and OutlinerUndoChangeParaNumberingRestart::ParaRestartData::mnNumberingStartValue.
|
private |
Definition at line 83 of file outlundo.cxx.
References OutlinerUndoBase::GetOutliner(), OutlinerUndoChangeParaNumberingRestart::ParaRestartData::mbParaIsNumberingRestart, OutlinerUndoChangeParaNumberingRestart::ParaRestartData::mnNumberingStartValue, mnPara, Outliner::SetNumberingStartValue(), and Outliner::SetParaIsNumberingRestart().
|
overridevirtual |
Implements EditUndo.
Definition at line 78 of file outlundo.cxx.
References ImplApplyData(), and maRedoData.
|
overridevirtual |
Implements EditUndo.
Definition at line 73 of file outlundo.cxx.
References ImplApplyData(), and maUndoData.
|
private |
Definition at line 64 of file outlundo.hxx.
Referenced by OutlinerUndoChangeParaNumberingRestart(), and Redo().
|
private |
Definition at line 63 of file outlundo.hxx.
Referenced by OutlinerUndoChangeParaNumberingRestart(), and Undo().
|
private |
Definition at line 55 of file outlundo.hxx.
Referenced by ImplApplyData().