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

#include <tableundo.hxx>

Inheritance diagram for sdr::table::TableColumnUndo:
Collaboration diagram for sdr::table::TableColumnUndo:


struct  Data

Public Member Functions

 TableColumnUndo (const TableColumnRef &xCol)
virtual ~TableColumnUndo () 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 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 setData (const Data &rData)
void getData (Data &rData)

Private Attributes

TableColumnRef mxCol
Data maUndoData
Data maRedoData
bool mbHasRedoData

Additional Inherited Members

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

Detailed Description

Definition at line 159 of file tableundo.hxx.

Constructor & Destructor Documentation

sdr::table::TableColumnUndo::TableColumnUndo ( const TableColumnRef xCol)

Definition at line 342 of file tableundo.cxx.

References false, getData(), and maUndoData.

sdr::table::TableColumnUndo::~TableColumnUndo ( )

Definition at line 351 of file tableundo.cxx.

Member Function Documentation

void sdr::table::TableColumnUndo::getData ( Data rData)
bool sdr::table::TableColumnUndo::Merge ( SfxUndoAction pNextAction)

Reimplemented from SfxUndoAction.

Definition at line 373 of file tableundo.cxx.

References mxCol.

void sdr::table::TableColumnUndo::Redo ( )

Reimplemented from SfxUndoAction.

Definition at line 367 of file tableundo.cxx.

References maRedoData, and setData().

void sdr::table::TableColumnUndo::setData ( const Data rData)
void sdr::table::TableColumnUndo::Undo ( )

Reimplemented from SfxUndoAction.

Definition at line 356 of file tableundo.cxx.

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

Member Data Documentation

Data sdr::table::TableColumnUndo::maRedoData

Definition at line 194 of file tableundo.hxx.

Referenced by Redo(), and Undo().

Data sdr::table::TableColumnUndo::maUndoData

Definition at line 193 of file tableundo.hxx.

Referenced by TableColumnUndo(), and Undo().

bool sdr::table::TableColumnUndo::mbHasRedoData

Definition at line 195 of file tableundo.hxx.

Referenced by Undo().

TableColumnRef sdr::table::TableColumnUndo::mxCol

Definition at line 192 of file tableundo.hxx.

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

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