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

#include <tableundo.hxx>

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

Public Member Functions

 RemoveRowUndo (const TableModelRef &xTable, sal_Int32 nIndex, RowVector &aRemovedRows)
 
virtual ~RemoveRowUndo () 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
 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)
 
virtual OUString GetComment () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

TableModelRef mxTable
 
sal_Int32 const mnIndex
 
RowVector maRows
 
bool mbUndo
 

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 108 of file tableundo.hxx.

Constructor & Destructor Documentation

sdr::table::RemoveRowUndo::RemoveRowUndo ( const TableModelRef xTable,
sal_Int32  nIndex,
RowVector aRemovedRows 
)

Definition at line 202 of file tableundo.cxx.

References maRows, and mnIndex.

sdr::table::RemoveRowUndo::~RemoveRowUndo ( )
overridevirtual

Definition at line 212 of file tableundo.cxx.

References sdr::table::Dispose(), maRows, and mbUndo.

Member Function Documentation

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

Reimplemented from SfxUndoAction.

Definition at line 229 of file tableundo.cxx.

References maRows, mbUndo, mnIndex, and mxTable.

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

Reimplemented from SfxUndoAction.

Definition at line 219 of file tableundo.cxx.

References maRows, mbUndo, mnIndex, and mxTable.

Member Data Documentation

RowVector sdr::table::RemoveRowUndo::maRows
private

Definition at line 120 of file tableundo.hxx.

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

bool sdr::table::RemoveRowUndo::mbUndo
private

Definition at line 121 of file tableundo.hxx.

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

sal_Int32 const sdr::table::RemoveRowUndo::mnIndex
private

Definition at line 119 of file tableundo.hxx.

Referenced by Redo(), and Undo().

TableModelRef sdr::table::RemoveRowUndo::mxTable
private

Definition at line 118 of file tableundo.hxx.

Referenced by Redo(), and Undo().


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