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

#include <tableundo.hxx>

Inheritance diagram for sdr::table::TableRowUndo:
[legend]
Collaboration diagram for sdr::table::TableRowUndo:
[legend]

Classes

struct  Data
 

Public Member Functions

 TableRowUndo (const TableRowRef &xRow)
 
virtual ~TableRowUndo () override
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual bool Merge (SfxUndoAction *pNextAction) 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 Undo ()
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void Redo ()
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void setData (const Data &rData)
 
void getData (Data &rData)
 

Private Attributes

TableRowRef mxRow
 
Data maUndoData
 
Data maRedoData
 
bool mbHasRedoData
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 199 of file tableundo.hxx.

Constructor & Destructor Documentation

◆ TableRowUndo()

sdr::table::TableRowUndo::TableRowUndo ( const TableRowRef xRow)
explicit

Definition at line 406 of file tableundo.cxx.

References getData(), and maUndoData.

◆ ~TableRowUndo()

sdr::table::TableRowUndo::~TableRowUndo ( )
overridevirtual

Definition at line 415 of file tableundo.cxx.

Member Function Documentation

◆ getData()

void sdr::table::TableRowUndo::getData ( Data rData)
private

◆ Merge()

bool sdr::table::TableRowUndo::Merge ( SfxUndoAction pNextAction)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 437 of file tableundo.cxx.

References mxRow.

◆ Redo()

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

Reimplemented from SfxUndoAction.

Definition at line 431 of file tableundo.cxx.

References maRedoData, and setData().

◆ setData()

void sdr::table::TableRowUndo::setData ( const Data rData)
private

◆ Undo()

void sdr::table::TableRowUndo::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 420 of file tableundo.cxx.

References getData(), maRedoData, maUndoData, mbHasRedoData, and setData().

Member Data Documentation

◆ maRedoData

Data sdr::table::TableRowUndo::maRedoData
private

Definition at line 225 of file tableundo.hxx.

Referenced by Redo(), and Undo().

◆ maUndoData

Data sdr::table::TableRowUndo::maUndoData
private

Definition at line 224 of file tableundo.hxx.

Referenced by TableRowUndo(), and Undo().

◆ mbHasRedoData

bool sdr::table::TableRowUndo::mbHasRedoData
private

Definition at line 226 of file tableundo.hxx.

Referenced by Undo().

◆ mxRow

TableRowRef sdr::table::TableRowUndo::mxRow
private

Definition at line 223 of file tableundo.hxx.

Referenced by getData(), Merge(), and setData().


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