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

Classes

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

Detailed Description

Definition at line 231 of file tableundo.hxx.

Constructor & Destructor Documentation

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

Definition at line 473 of file tableundo.cxx.

References getData(), maUndoData, and table.

Member Function Documentation

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

Reimplemented from SfxUndoAction.

Definition at line 491 of file tableundo.cxx.

References maRedoData, and setData().

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

Reimplemented from SfxUndoAction.

Definition at line 481 of file tableundo.cxx.

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

Member Data Documentation

Data sdr::table::TableStyleUndo::maRedoData
private

Definition at line 252 of file tableundo.hxx.

Referenced by Redo(), and Undo().

Data sdr::table::TableStyleUndo::maUndoData
private

Definition at line 251 of file tableundo.hxx.

Referenced by TableStyleUndo(), and Undo().

bool sdr::table::TableStyleUndo::mbHasRedoData
private

Definition at line 253 of file tableundo.hxx.

Referenced by Undo().

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

Definition at line 240 of file tableundo.hxx.

Referenced by getData(), and setData().


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