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

#include <outlundo.hxx>

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

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)
 
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 ImplChangeFlags (ParaFlag nFlags)
 

Private Attributes

sal_Int32 mnPara
 
ParaFlag mnOldFlags
 
ParaFlag mnNewFlags
 

Detailed Description

Definition at line 36 of file outlundo.hxx.

Constructor & Destructor Documentation

◆ OutlinerUndoChangeParaFlags()

OutlinerUndoChangeParaFlags::OutlinerUndoChangeParaFlags ( Outliner pOutliner,
sal_Int32  nPara,
ParaFlag  nOldFlags,
ParaFlag  nNewFlags 
)

Definition at line 33 of file outlundo.cxx.

Member Function Documentation

◆ ImplChangeFlags()

void OutlinerUndoChangeParaFlags::ImplChangeFlags ( ParaFlag  nFlags)
private

◆ Redo()

void OutlinerUndoChangeParaFlags::Redo ( )
overridevirtual

Implements EditUndo.

Definition at line 43 of file outlundo.cxx.

References ImplChangeFlags(), and mnNewFlags.

◆ Undo()

void OutlinerUndoChangeParaFlags::Undo ( )
overridevirtual

Implements EditUndo.

Definition at line 38 of file outlundo.cxx.

References ImplChangeFlags(), and mnOldFlags.

Member Data Documentation

◆ mnNewFlags

ParaFlag OutlinerUndoChangeParaFlags::mnNewFlags
private

Definition at line 41 of file outlundo.hxx.

Referenced by Redo().

◆ mnOldFlags

ParaFlag OutlinerUndoChangeParaFlags::mnOldFlags
private

Definition at line 40 of file outlundo.hxx.

Referenced by Undo().

◆ mnPara

sal_Int32 OutlinerUndoChangeParaFlags::mnPara
private

Definition at line 39 of file outlundo.hxx.

Referenced by ImplChangeFlags().


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