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

#include <outlundo.hxx>

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

Public Member Functions

 OLUndoExpand (Outliner *pOut, sal_uInt16 nId)
 
virtual ~OLUndoExpand () override
 
virtual void Undo () override
 
virtual void Redo () override
 
- 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
 

Public Attributes

OutlinerpOutliner
 
sal_Int32 nCount
 

Private Member Functions

void Restore (bool bUndo)
 

Detailed Description

Definition at line 105 of file outlundo.hxx.

Constructor & Destructor Documentation

◆ OLUndoExpand()

OLUndoExpand::OLUndoExpand ( Outliner pOut,
sal_uInt16  nId 
)

Definition at line 124 of file outlundo.cxx.

References DBG_ASSERT, nCount, and pOut.

◆ ~OLUndoExpand()

OLUndoExpand::~OLUndoExpand ( )
overridevirtual

Definition at line 131 of file outlundo.cxx.

Member Function Documentation

◆ Redo()

void OLUndoExpand::Redo ( )
overridevirtual

Implements EditUndo.

Definition at line 159 of file outlundo.cxx.

References Restore().

◆ Restore()

void OLUndoExpand::Restore ( bool  bUndo)
private

◆ Undo()

void OLUndoExpand::Undo ( )
overridevirtual

Implements EditUndo.

Definition at line 154 of file outlundo.cxx.

References Restore().

Member Data Documentation

◆ nCount

sal_Int32 OLUndoExpand::nCount

Definition at line 115 of file outlundo.hxx.

Referenced by Restore().

◆ pOutliner

Outliner* OLUndoExpand::pOutliner

Definition at line 114 of file outlundo.hxx.

Referenced by Restore().


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