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 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

unotools::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 229 of file tableundo.hxx.

Constructor & Destructor Documentation

◆ TableStyleUndo()

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

Definition at line 469 of file tableundo.cxx.

References getData(), maUndoData, and table.

Member Function Documentation

◆ getData()

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

◆ Redo()

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

Reimplemented from SfxUndoAction.

Definition at line 487 of file tableundo.cxx.

References maRedoData, and setData().

◆ setData()

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

◆ Undo()

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

Reimplemented from SfxUndoAction.

Definition at line 477 of file tableundo.cxx.

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

Member Data Documentation

◆ maRedoData

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

Definition at line 250 of file tableundo.hxx.

Referenced by Redo(), and Undo().

◆ maUndoData

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

Definition at line 249 of file tableundo.hxx.

Referenced by TableStyleUndo(), and Undo().

◆ mbHasRedoData

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

Definition at line 251 of file tableundo.hxx.

Referenced by Undo().

◆ mxObjRef

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

Definition at line 238 of file tableundo.hxx.

Referenced by getData(), and setData().


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