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

#include <tableundo.hxx>

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

Public Member Functions

 RemoveColUndo (const TableModelRef &xTable, sal_Int32 nIndex, ColumnVector &aNewCols, CellVector &aCells)
 
virtual ~RemoveColUndo () 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
 
ColumnVector maColumns
 
CellVector maCells
 
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 143 of file tableundo.hxx.

Constructor & Destructor Documentation

sdr::table::RemoveColUndo::RemoveColUndo ( const TableModelRef xTable,
sal_Int32  nIndex,
ColumnVector aNewCols,
CellVector aCells 
)

Definition at line 300 of file tableundo.cxx.

References maCells, maColumns, and mnIndex.

sdr::table::RemoveColUndo::~RemoveColUndo ( )
overridevirtual

Definition at line 311 of file tableundo.cxx.

References sdr::table::Dispose(), maCells, maColumns, and mbUndo.

Member Function Documentation

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

Reimplemented from SfxUndoAction.

Definition at line 331 of file tableundo.cxx.

References maColumns, mbUndo, mnIndex, and mxTable.

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

Reimplemented from SfxUndoAction.

Definition at line 321 of file tableundo.cxx.

References maCells, maColumns, mbUndo, mnIndex, and mxTable.

Member Data Documentation

CellVector sdr::table::RemoveColUndo::maCells
private

Definition at line 156 of file tableundo.hxx.

Referenced by RemoveColUndo(), Undo(), and ~RemoveColUndo().

ColumnVector sdr::table::RemoveColUndo::maColumns
private

Definition at line 155 of file tableundo.hxx.

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

bool sdr::table::RemoveColUndo::mbUndo
private

Definition at line 157 of file tableundo.hxx.

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

sal_Int32 const sdr::table::RemoveColUndo::mnIndex
private

Definition at line 154 of file tableundo.hxx.

Referenced by Redo(), and Undo().

TableModelRef sdr::table::RemoveColUndo::mxTable
private

Definition at line 153 of file tableundo.hxx.

Referenced by Redo(), and Undo().


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