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

#include <tableundo.hxx>

Inheritance diagram for sdr::table::TableStyleUndo:
Collaboration diagram for sdr::table::TableStyleUndo:


struct  Data

Public Member Functions

 TableStyleUndo (const SdrTableObj &rTableObj)
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 Member Functions

void setData (const Data &rData)
void getData (Data &rData)

Private Attributes

tools::WeakReference< SdrTableObjmxObjRef
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 229 of file tableundo.hxx.

Constructor & Destructor Documentation

sdr::table::TableStyleUndo::TableStyleUndo ( const SdrTableObj rTableObj)

Definition at line 471 of file tableundo.cxx.

References false, getData(), maUndoData, and table.

Member Function Documentation

void sdr::table::TableStyleUndo::getData ( Data rData)
void sdr::table::TableStyleUndo::Redo ( )

Reimplemented from SfxUndoAction.

Definition at line 489 of file tableundo.cxx.

References maRedoData, and setData().

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

Reimplemented from SfxUndoAction.

Definition at line 479 of file tableundo.cxx.

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

Member Data Documentation

Data sdr::table::TableStyleUndo::maRedoData

Definition at line 250 of file tableundo.hxx.

Referenced by Redo(), and Undo().

Data sdr::table::TableStyleUndo::maUndoData

Definition at line 249 of file tableundo.hxx.

Referenced by TableStyleUndo(), and Undo().

bool sdr::table::TableStyleUndo::mbHasRedoData

Definition at line 251 of file tableundo.hxx.

Referenced by Undo().

tools::WeakReference<SdrTableObj> sdr::table::TableStyleUndo::mxObjRef

Definition at line 238 of file tableundo.hxx.

Referenced by getData(), and setData().

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