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 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
 

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 60 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoAction()

SdrUndoAction::SdrUndoAction ( SdrModel rNewMod)
protected

Definition at line 63 of file svdundo.cxx.

References SfxViewShell::Current(), and m_nViewShellId.

◆ ~SdrUndoAction()

SdrUndoAction::~SdrUndoAction ( )
overridevirtual

Definition at line 70 of file svdundo.cxx.

Member Function Documentation

◆ CanRepeat()

bool SdrUndoAction::CanRepeat ( SfxRepeatTarget &  rView) const
overridevirtual

Reimplemented from SfxUndoAction.

Reimplemented in E3dUndoAction, and E3dAttributesUndoAction.

Definition at line 72 of file svdundo.cxx.

◆ CanSdrRepeat()

bool SdrUndoAction::CanSdrRepeat ( SdrView rView) const
virtual

◆ GetRepeatComment()

OUString SdrUndoAction::GetRepeatComment ( SfxRepeatTarget &  rView) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 86 of file svdundo.cxx.

References GetSdrRepeatComment().

◆ GetSdrRepeatComment()

OUString SdrUndoAction::GetSdrRepeatComment ( ) const
virtual

◆ GetViewShellId()

ViewShellId SdrUndoAction::GetViewShellId ( ) const
overridevirtual

See SfxUndoAction::GetViewShellId().

Reimplemented from SfxUndoAction.

Definition at line 107 of file svdundo.cxx.

References m_nViewShellId.

◆ Repeat()

void SdrUndoAction::Repeat ( SfxRepeatTarget &  rView)
overridevirtual

Reimplemented from SfxUndoAction.

Reimplemented in E3dAttributesUndoAction.

Definition at line 79 of file svdundo.cxx.

References DBG_ASSERT, and SdrRepeat().

◆ SdrRepeat()

void SdrUndoAction::SdrRepeat ( SdrView rView)
virtual

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

Definition at line 98 of file svdundo.cxx.

Referenced by Repeat().

Member Data Documentation

◆ m_nViewShellId

ViewShellId SdrUndoAction::m_nViewShellId
protected

Definition at line 64 of file svdundo.hxx.

Referenced by GetViewShellId(), and SdrUndoAction().

◆ rMod

SdrModel& SdrUndoAction::rMod
protected

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