LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SdrUndoAction Class Reference

Abstract base class (ABC) for all UndoActions of DrawingEngine. More...

#include <svdundo.hxx>

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

Public Member Functions

virtual ~SdrUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &rView) const override
 
virtual void Repeat (SfxRepeatTarget &rView) override
 
virtual OUString GetRepeatComment (SfxRepeatTarget &rView) const override
 
virtual OUString GetSdrRepeatComment () const
 
virtual bool CanSdrRepeat (SdrView &rView) const
 
virtual void SdrRepeat (SdrView &rView)
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- 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 bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Protected Member Functions

 SdrUndoAction (SdrModel &rNewMod)
 

Protected Attributes

SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Abstract base class (ABC) for all UndoActions of DrawingEngine.

Definition at line 53 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoAction::SdrUndoAction ( SdrModel rNewMod)
protected

Definition at line 61 of file svdundo.cxx.

References SfxViewShell::Current(), and m_nViewShellId.

SdrUndoAction::~SdrUndoAction ( )
overridevirtual

Definition at line 68 of file svdundo.cxx.

Member Function Documentation

bool SdrUndoAction::CanRepeat ( SfxRepeatTarget rView) const
overridevirtual

Reimplemented from SfxUndoAction.

Reimplemented in E3dAttributesUndoAction, and E3dUndoAction.

Definition at line 70 of file svdundo.cxx.

References CanSdrRepeat().

bool SdrUndoAction::CanSdrRepeat ( SdrView rView) const
virtual

Reimplemented in SdrUndoCopyPage, SdrUndoDelPage, SdrUndoObjSetText, SdrUndoDelObj, SdrUndoMoveObj, and SdrUndoGroup.

Definition at line 91 of file svdundo.cxx.

Referenced by CanRepeat().

OUString SdrUndoAction::GetRepeatComment ( SfxRepeatTarget rView) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 84 of file svdundo.cxx.

References GetSdrRepeatComment().

OUString SdrUndoAction::GetSdrRepeatComment ( ) const
virtual
ViewShellId SdrUndoAction::GetViewShellId ( ) const
overridevirtual

See SfxUndoAction::GetViewShellId().

Reimplemented from SfxUndoAction.

Definition at line 105 of file svdundo.cxx.

References m_nViewShellId.

void SdrUndoAction::Repeat ( SfxRepeatTarget rView)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 77 of file svdundo.cxx.

References DBG_ASSERT, and SdrRepeat().

void SdrUndoAction::SdrRepeat ( SdrView rView)
virtual

Reimplemented in SdrUndoCopyPage, SdrUndoDelPage, SdrUndoObjSetText, SdrUndoDelObj, SdrUndoMoveObj, and SdrUndoGroup.

Definition at line 96 of file svdundo.cxx.

Referenced by Repeat().

Member Data Documentation

ViewShellId SdrUndoAction::m_nViewShellId
protected

Definition at line 57 of file svdundo.hxx.

Referenced by GetViewShellId(), and SdrUndoAction().

SdrModel& SdrUndoAction::rMod
protected

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