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

Deleting an Object. More...

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoDelObj (SdrObject &rNewObj, bool bOrdNumDirect=false)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
virtual OUString GetSdrRepeatComment () const override
 
virtual void SdrRepeat (SdrView &rView) override
 
virtual bool CanSdrRepeat (SdrView &rView) const override
 
- Public Member Functions inherited from SdrUndoRemoveObj
 SdrUndoRemoveObj (SdrObject &rNewObj, bool bOrdNumDirect=false)
 
virtual ~SdrUndoRemoveObj () override
 
- Public Member Functions inherited from SdrUndoAction
virtual ~SdrUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &rView) const override
 
virtual void Repeat (SfxRepeatTarget &rView) override
 
virtual OUString GetRepeatComment (SfxRepeatTarget &rView) const override
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoObjList
 SdrUndoObjList (SdrObject &rNewObj, bool bOrdNumDirect)
 
virtual ~SdrUndoObjList () override
 
bool IsOwner () const
 
void SetOwner (bool bNew)
 
- Protected Member Functions inherited from SdrUndoObj
 SdrUndoObj (SdrObject &rNewObj)
 
OUString ImpGetDescriptionStr (const char *pStrCacheID, bool bRepeat=false) const
 
void ImpShowPageOfThisObject ()
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Static Protected Member Functions inherited from SdrUndoObj
static OUString GetDescriptionStringForObject (const SdrObject &_rForObject, const char *pStrCacheID, bool bRepeat=false)
 
- Protected Attributes inherited from SdrUndoObjList
SdrObjListpObjList
 
sal_uInt32 nOrdNum
 
- Protected Attributes inherited from SdrUndoObj
SdrObjectpObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Deleting an Object.

Create Action before removing from ObjList.

Definition at line 290 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoDelObj::SdrUndoDelObj ( SdrObject rNewObj,
bool  bOrdNumDirect = false 
)

Definition at line 762 of file svdundo.cxx.

References SdrUndoObjList::SetOwner().

Member Function Documentation

bool SdrUndoDelObj::CanSdrRepeat ( SdrView rView) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 792 of file svdundo.cxx.

References SdrMarkView::AreObjectsMarked().

OUString SdrUndoDelObj::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 782 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

OUString SdrUndoDelObj::GetSdrRepeatComment ( ) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 797 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

void SdrUndoDelObj::Redo ( )
overridevirtual
void SdrUndoDelObj::SdrRepeat ( SdrView rView)
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 787 of file svdundo.cxx.

References SdrView::DeleteMarked().

void SdrUndoDelObj::Undo ( )
overridevirtual

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