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

#include <drwlayer.hxx>

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

Public Member Functions

 ScUndoAnchorData (SdrObject *pObj, ScDocument *pDoc, SCTAB nTab)
 
virtual ~ScUndoAnchorData () 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

bool mbWasCellAnchored
 
bool mbWasResizeWithCell
 
ScDocumentmpDoc
 
SCTAB mnTab
 

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

Constructor & Destructor Documentation

◆ ScUndoAnchorData()

ScUndoAnchorData::ScUndoAnchorData ( SdrObject pObj,
ScDocument pDoc,
SCTAB  nTab 
)

◆ ~ScUndoAnchorData()

ScUndoAnchorData::~ScUndoAnchorData ( )
overridevirtual

Definition at line 170 of file drwlayer.cxx.

Member Function Documentation

◆ Redo()

void ScUndoAnchorData::Redo ( )
overridevirtual

◆ Undo()

void ScUndoAnchorData::Undo ( )
overridevirtual

Member Data Documentation

◆ mbWasCellAnchored

bool ScUndoAnchorData::mbWasCellAnchored
private

Definition at line 77 of file drwlayer.hxx.

Referenced by Redo(), ScUndoAnchorData(), and Undo().

◆ mbWasResizeWithCell

bool ScUndoAnchorData::mbWasResizeWithCell
private

Definition at line 78 of file drwlayer.hxx.

Referenced by Redo(), ScUndoAnchorData(), and Undo().

◆ mnTab

SCTAB ScUndoAnchorData::mnTab
private

Definition at line 80 of file drwlayer.hxx.

Referenced by Redo(), and Undo().

◆ mpDoc

ScDocument* ScUndoAnchorData::mpDoc
private

Definition at line 79 of file drwlayer.hxx.

Referenced by Redo(), and Undo().


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