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

#include <tableundo.hxx>

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

Public Member Functions

 InsertColUndo (const TableModelRef &xTable, sal_Int32 nIndex, ColumnVector &aNewCols, CellVector &aCells)
 
virtual ~InsertColUndo () 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 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 Attributes

TableModelRef mxTable
 
sal_Int32 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 123 of file tableundo.hxx.

Constructor & Destructor Documentation

◆ InsertColUndo()

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

Definition at line 252 of file tableundo.cxx.

References maCells, maColumns, mnIndex, and nIndex.

◆ ~InsertColUndo()

sdr::table::InsertColUndo::~InsertColUndo ( )
overridevirtual

Definition at line 263 of file tableundo.cxx.

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

Member Function Documentation

◆ Redo()

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

Reimplemented from SfxUndoAction.

Definition at line 283 of file tableundo.cxx.

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

◆ Undo()

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

Reimplemented from SfxUndoAction.

Definition at line 273 of file tableundo.cxx.

References maColumns, mbUndo, mnIndex, and mxTable.

Member Data Documentation

◆ maCells

CellVector sdr::table::InsertColUndo::maCells
private

Definition at line 136 of file tableundo.hxx.

Referenced by InsertColUndo(), Redo(), and ~InsertColUndo().

◆ maColumns

ColumnVector sdr::table::InsertColUndo::maColumns
private

Definition at line 135 of file tableundo.hxx.

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

◆ mbUndo

bool sdr::table::InsertColUndo::mbUndo
private

Definition at line 137 of file tableundo.hxx.

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

◆ mnIndex

sal_Int32 sdr::table::InsertColUndo::mnIndex
private

Definition at line 134 of file tableundo.hxx.

Referenced by Redo(), and Undo().

◆ mxTable

TableModelRef sdr::table::InsertColUndo::mxTable
private

Definition at line 133 of file tableundo.hxx.

Referenced by Redo(), and Undo().


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