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:
[legend]
Collaboration diagram for sdr::table::CellUndo:
[legend]

Classes

struct  Data
 

Public Member Functions

 CellUndo (const tools::WeakReference< SdrObject > &xObjRef, 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
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 42 of file tableundo.hxx.

Constructor & Destructor Documentation

sdr::table::CellUndo::CellUndo ( const tools::WeakReference< SdrObject > &  xObjRef,
const CellRef xCell 
)
sdr::table::CellUndo::~CellUndo ( )
overridevirtual

Member Function Documentation

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

Reimplemented from SfxUndoAction.

Definition at line 96 of file tableundo.cxx.

References mxCell.

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

Implements sdr::ObjectUser.

Definition at line 70 of file tableundo.cxx.

References dispose().

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

Reimplemented from SfxUndoAction.

Definition at line 87 of file tableundo.cxx.

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

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

Member Data Documentation

Data sdr::table::CellUndo::maRedoData
private

Definition at line 86 of file tableundo.hxx.

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

Data sdr::table::CellUndo::maUndoData
private

Definition at line 85 of file tableundo.hxx.

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

bool sdr::table::CellUndo::mbUndo
private

Definition at line 87 of file tableundo.hxx.

Referenced by Redo(), and Undo().

CellRef sdr::table::CellUndo::mxCell
private

Definition at line 84 of file tableundo.hxx.

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

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

Definition at line 83 of file tableundo.hxx.

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


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