LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::UndoReplaceObject Class Referencefinal

#include <undoobjects.hxx>

Inheritance diagram for sd::UndoReplaceObject:
[legend]
Collaboration diagram for sd::UndoReplaceObject:
[legend]

Public Member Functions

 UndoReplaceObject (SdrObject &rOldObject, SdrObject &rNewObject)
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from SdrUndoReplaceObj
 SdrUndoReplaceObj (SdrObject &rOldObj1, SdrObject &rNewObj1)
 
virtual ~SdrUndoReplaceObj () override
 
virtual void Undo () override
 
virtual void Redo () 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
 
virtual OUString GetSdrRepeatComment () const
 
virtual bool CanSdrRepeat (SdrView &rView) const
 
virtual void SdrRepeat (SdrView &rView)
 
ViewShellId GetViewShellId () const override
 

Private Attributes

::unotools::WeakReference< SdrObjectmxSdrObject
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoObj
 SdrUndoObj (SdrObject &rNewObj)
 
virtual ~SdrUndoObj () override
 
OUString ImpGetDescriptionStr (TranslateId pStrCacheID, bool bRepeat=false) const
 
void ImpShowPageOfThisObject ()
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Protected Member Functions inherited from sd::UndoRemovePresObjectImpl
 UndoRemovePresObjectImpl (SdrObject &rObject)
 
virtual ~UndoRemovePresObjectImpl ()
 
virtual void Undo ()
 
virtual void Redo ()
 
- Static Protected Member Functions inherited from SdrUndoObj
static OUString GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false)
 
- Protected Attributes inherited from SdrUndoObj
rtl::Reference< SdrObjectmxObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 72 of file undoobjects.hxx.

Constructor & Destructor Documentation

◆ UndoReplaceObject()

UndoReplaceObject::UndoReplaceObject ( SdrObject rOldObject,
SdrObject rNewObject 
)

Definition at line 148 of file undoobjects.cxx.

Member Function Documentation

◆ Redo()

void UndoReplaceObject::Redo ( )
overridevirtual

◆ Undo()

void UndoReplaceObject::Undo ( )
overridevirtual

Member Data Documentation

◆ mxSdrObject

::unotools::WeakReference<SdrObject> sd::UndoReplaceObject::mxSdrObject
private

Definition at line 81 of file undoobjects.hxx.

Referenced by Redo(), and Undo().


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