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:
[legend]
Collaboration diagram for sdr::table::TableColumnUndo:
[legend]

Classes

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
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 161 of file tableundo.hxx.

Constructor & Destructor Documentation

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

Definition at line 344 of file tableundo.cxx.

References getData(), and maUndoData.

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

Definition at line 353 of file tableundo.cxx.

Member Function Documentation

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

Reimplemented from SfxUndoAction.

Definition at line 375 of file tableundo.cxx.

References mxCol.

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

Reimplemented from SfxUndoAction.

Definition at line 369 of file tableundo.cxx.

References maRedoData, and setData().

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

Reimplemented from SfxUndoAction.

Definition at line 358 of file tableundo.cxx.

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

Member Data Documentation

Data sdr::table::TableColumnUndo::maRedoData
private

Definition at line 196 of file tableundo.hxx.

Referenced by Redo(), and Undo().

Data sdr::table::TableColumnUndo::maUndoData
private

Definition at line 195 of file tableundo.hxx.

Referenced by TableColumnUndo(), and Undo().

bool sdr::table::TableColumnUndo::mbHasRedoData
private

Definition at line 197 of file tableundo.hxx.

Referenced by Undo().

TableColumnRef sdr::table::TableColumnUndo::mxCol
private

Definition at line 194 of file tableundo.hxx.

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


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