LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScUndoObjData Class Referencefinal

#include <drwlayer.hxx>

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

Public Member Functions

 ScUndoObjData (SdrObject *pObj, const ScAddress &rOS, const ScAddress &rOE, const ScAddress &rNS, const ScAddress &rNE)
 
virtual ~ScUndoObjData () 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

ScAddress aOldStt
 
ScAddress aOldEnd
 
ScAddress aNewStt
 
ScAddress aNewEnd
 

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)
 
- 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 58 of file drwlayer.hxx.

Constructor & Destructor Documentation

◆ ScUndoObjData()

ScUndoObjData::ScUndoObjData ( SdrObject pObj,
const ScAddress rOS,
const ScAddress rOE,
const ScAddress rNS,
const ScAddress rNE 
)

Definition at line 109 of file drwlayer.cxx.

◆ ~ScUndoObjData()

ScUndoObjData::~ScUndoObjData ( )
overridevirtual

Definition at line 119 of file drwlayer.cxx.

Member Function Documentation

◆ Redo()

void ScUndoObjData::Redo ( )
overridevirtual

◆ Undo()

void ScUndoObjData::Undo ( )
overridevirtual

Member Data Documentation

◆ aNewEnd

ScAddress ScUndoObjData::aNewEnd
private

Definition at line 64 of file drwlayer.hxx.

Referenced by Redo().

◆ aNewStt

ScAddress ScUndoObjData::aNewStt
private

Definition at line 63 of file drwlayer.hxx.

Referenced by Redo().

◆ aOldEnd

ScAddress ScUndoObjData::aOldEnd
private

Definition at line 62 of file drwlayer.hxx.

Referenced by Undo().

◆ aOldStt

ScAddress ScUndoObjData::aOldStt
private

Definition at line 61 of file drwlayer.hxx.

Referenced by Undo().


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