LibreOffice Module svx (master) 1
|
#include <tableundo.hxx>
Classes | |
struct | Data |
Public Member Functions | |
CellUndo (SdrObject *pObj, const CellRef &xCell) | |
virtual | ~CellUndo () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
void | dispose () |
virtual void | ObjectInDestruction (const SdrObject &rObject) 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 DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
virtual void | ObjectInDestruction (const SdrObject &rObject)=0 |
Private Member Functions | |
void | setDataToCell (const Data &rData) |
void | getDataFromCell (Data &rData) |
Private Attributes | |
unotools::WeakReference< SdrObject > | mxObjRef |
CellRef | mxCell |
Data | maUndoData |
Data | maRedoData |
bool | mbUndo |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoAction | |
SdrUndoAction (SdrModel &rNewMod) | |
Protected Member Functions inherited from sdr::ObjectUser | |
~ObjectUser () | |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Definition at line 42 of file tableundo.hxx.
Definition at line 37 of file tableundo.cxx.
References SdrObject::AddObjectUser(), getDataFromCell(), GetObject(), maUndoData, and mxCell.
|
overridevirtual |
Definition at line 50 of file tableundo.cxx.
References dispose(), unotools::WeakReference< class interface_type >::get(), and mxObjRef.
void sdr::table::CellUndo::dispose | ( | void | ) |
Definition at line 57 of file tableundo.cxx.
References maRedoData, maUndoData, sdr::table::CellUndo::Data::mpOutlinerParaObject, mxCell, sdr::table::CellUndo::Data::mxProperties, and std::optional< OutlinerParaObject >::reset().
Referenced by ObjectInDestruction(), and ~CellUndo().
|
private |
Definition at line 126 of file tableundo.cxx.
References unotools::WeakReference< class interface_type >::get(), sdr::table::CellUndo::Data::mbMerged, sdr::table::CellUndo::Data::mfValue, sdr::table::CellUndo::Data::mnColSpan, sdr::table::CellUndo::Data::mnError, sdr::table::CellUndo::Data::mnRowSpan, sdr::table::CellUndo::Data::mpOutlinerParaObject, sdr::table::CellUndo::Data::msFormula, mxCell, mxObjRef, sdr::table::CellUndo::Data::mxProperties, and std::optional< OutlinerParaObject >::reset().
Referenced by CellUndo(), and Undo().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 83 of file tableundo.cxx.
References maRedoData, mbUndo, mxCell, and setDataToCell().
|
private |
Definition at line 98 of file tableundo.cxx.
References unotools::WeakReference< class interface_type >::get(), sdr::table::CellUndo::Data::mbMerged, sdr::table::CellUndo::Data::mfValue, sdr::table::CellUndo::Data::mnColSpan, sdr::table::CellUndo::Data::mnError, sdr::table::CellUndo::Data::mnRowSpan, sdr::table::CellUndo::Data::mpOutlinerParaObject, sdr::table::CellUndo::Data::msFormula, mxCell, mxObjRef, and sdr::table::CellUndo::Data::mxProperties.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 71 of file tableundo.cxx.
References getDataFromCell(), maRedoData, maUndoData, mbUndo, mxCell, sdr::table::CellUndo::Data::mxProperties, and setDataToCell().
|
private |
Definition at line 84 of file tableundo.hxx.
|
private |
Definition at line 83 of file tableundo.hxx.
Referenced by CellUndo(), dispose(), and Undo().
|
private |
Definition at line 85 of file tableundo.hxx.
|
private |
Definition at line 82 of file tableundo.hxx.
Referenced by CellUndo(), dispose(), getDataFromCell(), Merge(), Redo(), setDataToCell(), and Undo().
|
private |
Definition at line 81 of file tableundo.hxx.
Referenced by getDataFromCell(), setDataToCell(), and ~CellUndo().