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

Constructor & Destructor Documentation

◆ TableColumnUndo()

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

Definition at line 340 of file tableundo.cxx.

References getData(), and maUndoData.

◆ ~TableColumnUndo()

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

Definition at line 349 of file tableundo.cxx.

Member Function Documentation

◆ getData()

void sdr::table::TableColumnUndo::getData ( Data rData)
private

◆ Merge()

bool sdr::table::TableColumnUndo::Merge ( SfxUndoAction pNextAction)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 371 of file tableundo.cxx.

References mxCol.

◆ Redo()

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

Reimplemented from SfxUndoAction.

Definition at line 365 of file tableundo.cxx.

References maRedoData, and setData().

◆ setData()

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

◆ Undo()

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

Reimplemented from SfxUndoAction.

Definition at line 354 of file tableundo.cxx.

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

Member Data Documentation

◆ maRedoData

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

Definition at line 194 of file tableundo.hxx.

Referenced by Redo(), and Undo().

◆ maUndoData

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

Definition at line 193 of file tableundo.hxx.

Referenced by TableColumnUndo(), and Undo().

◆ mbHasRedoData

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

Definition at line 195 of file tableundo.hxx.

Referenced by Undo().

◆ mxCol

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

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: