LibreOffice Module editeng (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
OutlinerUndoChangeParaNumberingRestart Class Reference

#include <outlundo.hxx>

Inheritance diagram for OutlinerUndoChangeParaNumberingRestart:
[legend]
Collaboration diagram for OutlinerUndoChangeParaNumberingRestart:
[legend]

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)
 
OutlinerGetOutliner () const
 
- Public Member Functions inherited from EditUndo
 EditUndo (sal_uInt16 nI, EditEngine *pEE)
 
virtual ~EditUndo () override
 
EditEngineGetEditEngine ()
 
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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void ImplApplyData (const ParaRestartData &rData)
 

Private Attributes

sal_Int32 mnPara
 
ParaRestartData maUndoData
 
ParaRestartData maRedoData
 

Detailed Description

Definition at line 52 of file outlundo.hxx.

Constructor & Destructor Documentation

◆ OutlinerUndoChangeParaNumberingRestart()

OutlinerUndoChangeParaNumberingRestart::OutlinerUndoChangeParaNumberingRestart ( Outliner pOutliner,
sal_Int32  nPara,
sal_Int16  nOldNumberingStartValue,
sal_Int16  mnNewNumberingStartValue,
bool  bOldbParaIsNumberingRestart,
bool  bNewParaIsNumberingRestart 
)

Member Function Documentation

◆ ImplApplyData()

void OutlinerUndoChangeParaNumberingRestart::ImplApplyData ( const ParaRestartData rData)
private

◆ Redo()

void OutlinerUndoChangeParaNumberingRestart::Redo ( )
overridevirtual

Implements EditUndo.

Definition at line 78 of file outlundo.cxx.

References ImplApplyData(), and maRedoData.

◆ Undo()

void OutlinerUndoChangeParaNumberingRestart::Undo ( )
overridevirtual

Implements EditUndo.

Definition at line 73 of file outlundo.cxx.

References ImplApplyData(), and maUndoData.

Member Data Documentation

◆ maRedoData

ParaRestartData OutlinerUndoChangeParaNumberingRestart::maRedoData
private

Definition at line 64 of file outlundo.hxx.

Referenced by OutlinerUndoChangeParaNumberingRestart(), and Redo().

◆ maUndoData

ParaRestartData OutlinerUndoChangeParaNumberingRestart::maUndoData
private

Definition at line 63 of file outlundo.hxx.

Referenced by OutlinerUndoChangeParaNumberingRestart(), and Undo().

◆ mnPara

sal_Int32 OutlinerUndoChangeParaNumberingRestart::mnPara
private

Definition at line 55 of file outlundo.hxx.

Referenced by ImplApplyData().


The documentation for this class was generated from the following files: