LibreOffice Module svx (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sdr::table::CellUndo Class Reference

#include <tableundo.hxx>

Inheritance diagram for sdr::table::CellUndo:
Collaboration diagram for sdr::table::CellUndo:


struct  Data

Public Member Functions

 CellUndo (SdrObject *pObj, const CellRef &xCell)
virtual ~CellUndo () override
virtual void Undo () override
virtual void Redo () override
virtual bool Merge (SfxUndoAction *pNextAction) override
void dispose ()
virtual void ObjectInDestruction (const SdrObject &rObject) 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
 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 OUString GetComment () const
const DateTimeGetDateTime () const
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const

Private Member Functions

void setDataToCell (const Data &rData)
void getDataFromCell (Data &rData)

Private Attributes

tools::WeakReference< SdrObjectmxObjRef
CellRef mxCell
Data maUndoData
Data maRedoData
bool mbUndo

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
- Protected Member Functions inherited from sdr::ObjectUser
 ~ObjectUser ()
- Protected Attributes inherited from SdrUndoAction
ViewShellId m_nViewShellId

Detailed Description

Definition at line 41 of file tableundo.hxx.

Constructor & Destructor Documentation

sdr::table::CellUndo::CellUndo ( SdrObject pObj,
const CellRef xCell 
sdr::table::CellUndo::~CellUndo ( )

Member Function Documentation

void sdr::table::CellUndo::dispose ( void  )
void sdr::table::CellUndo::getDataFromCell ( Data rData)
bool sdr::table::CellUndo::Merge ( SfxUndoAction pNextAction)

Reimplemented from SfxUndoAction.

Definition at line 94 of file tableundo.cxx.

References mxCell.

void sdr::table::CellUndo::ObjectInDestruction ( const SdrObject rObject)

Implements sdr::ObjectUser.

Definition at line 68 of file tableundo.cxx.

References dispose().

void sdr::table::CellUndo::Redo ( )

Reimplemented from SfxUndoAction.

Definition at line 85 of file tableundo.cxx.

References maRedoData, mbUndo, mxCell, and setDataToCell().

void sdr::table::CellUndo::setDataToCell ( const Data rData)
void sdr::table::CellUndo::Undo ( )

Member Data Documentation

Data sdr::table::CellUndo::maRedoData

Definition at line 84 of file tableundo.hxx.

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

Data sdr::table::CellUndo::maUndoData

Definition at line 83 of file tableundo.hxx.

Referenced by CellUndo(), dispose(), and Undo().

bool sdr::table::CellUndo::mbUndo

Definition at line 85 of file tableundo.hxx.

Referenced by Redo(), and Undo().

CellRef sdr::table::CellUndo::mxCell

Definition at line 82 of file tableundo.hxx.

Referenced by CellUndo(), dispose(), getDataFromCell(), Merge(), Redo(), setDataToCell(), and Undo().

tools::WeakReference<SdrObject> sdr::table::CellUndo::mxObjRef

Definition at line 81 of file tableundo.hxx.

Referenced by CellUndo(), getDataFromCell(), setDataToCell(), and ~CellUndo().

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