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

Changing the geometry of an object. More...

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoGeoObj (SdrObject &rNewObj)
 
virtual ~SdrUndoGeoObj () override
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
void SetSkipChangeLayout (bool bOn)
 
- 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
 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
 

Private Attributes

std::unique_ptr< SdrObjGeoDatapUndoGeo
 
std::unique_ptr< SdrObjGeoDatapRedoGeo
 
std::unique_ptr< SdrUndoGrouppUndoGroup
 
bool mbSkipChangeLayout
 If we have a table object, should its layout change? More...
 

Additional Inherited Members

- 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 SdrUndoObj
SdrObjectpObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Changing the geometry of an object.

Create Action right before the geometric transformation.

Definition at line 206 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoGeoObj::SdrUndoGeoObj ( SdrObject rNewObj)
SdrUndoGeoObj::~SdrUndoGeoObj ( )
overridevirtual

Definition at line 569 of file svdundo.cxx.

References pRedoGeo, pUndoGeo, and pUndoGroup.

Member Function Documentation

OUString SdrUndoGeoObj::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 620 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

void SdrUndoGeoObj::Redo ( )
overridevirtual
void SdrUndoGeoObj::SetSkipChangeLayout ( bool  bOn)
inline
void SdrUndoGeoObj::Undo ( )
overridevirtual

Member Data Documentation

bool SdrUndoGeoObj::mbSkipChangeLayout
private

If we have a table object, should its layout change?

Definition at line 213 of file svdundo.hxx.

Referenced by Undo().

std::unique_ptr<SdrObjGeoData> SdrUndoGeoObj::pRedoGeo
private

Definition at line 209 of file svdundo.hxx.

Referenced by Redo(), Undo(), and ~SdrUndoGeoObj().

std::unique_ptr<SdrObjGeoData> SdrUndoGeoObj::pUndoGeo
private

Definition at line 208 of file svdundo.hxx.

Referenced by Redo(), SdrUndoGeoObj(), Undo(), and ~SdrUndoGeoObj().

std::unique_ptr<SdrUndoGroup> SdrUndoGeoObj::pUndoGroup
private

Definition at line 211 of file svdundo.hxx.

Referenced by Redo(), SdrUndoGeoObj(), Undo(), and ~SdrUndoGeoObj().


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