LibreOffice Module svx (master) 1
|
Changing the geometry of an object. More...
#include <svdundo.hxx>
Public Member Functions | |
SdrUndoGeoObj (SdrObject &rNewObj) | |
virtual | ~SdrUndoGeoObj () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () const override |
void | SetSkipChangeLayout (bool bOn) |
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 |
Private Attributes | |
std::unique_ptr< SdrObjGeoData > | pUndoGeo |
std::unique_ptr< SdrObjGeoData > | pRedoGeo |
std::unique_ptr< SdrUndoGroup > | pUndoGroup |
bool | mbSkipChangeLayout |
If we have a table object, should its layout change? More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoObj | |
SdrUndoObj (SdrObject &rNewObj) | |
virtual | ~SdrUndoObj () override |
OUString | ImpGetDescriptionStr (TranslateId pStrCacheID, bool bRepeat=false) const |
void | ImpShowPageOfThisObject () |
Protected Member Functions inherited from SdrUndoAction | |
SdrUndoAction (SdrModel &rNewMod) | |
Static Protected Member Functions inherited from SdrUndoObj | |
static OUString | GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false) |
Protected Attributes inherited from SdrUndoObj | |
rtl::Reference< SdrObject > | mxObj |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Changing the geometry of an object.
Create Action right before the geometric transformation.
Definition at line 212 of file svdundo.hxx.
SdrUndoGeoObj::SdrUndoGeoObj | ( | SdrObject & | rNewObj | ) |
Definition at line 558 of file svdundo.cxx.
References DynCastE3dScene(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), SdrUndoObj::mxObj, pUndoGeo, and pUndoGroup.
|
overridevirtual |
Definition at line 580 of file svdundo.cxx.
References pRedoGeo, pUndoGeo, and pUndoGroup.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 631 of file svdundo.cxx.
References SdrUndoObj::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 612 of file svdundo.cxx.
References SdrUndoObj::ImpShowPageOfThisObject(), SdrUndoObj::mxObj, pRedoGeo, pUndoGeo, and pUndoGroup.
|
inline |
Definition at line 229 of file svdundo.hxx.
Referenced by sdr::table::SvxTableController::changeTableEdge(), and SdrDragObjOwn::EndSdrDrag().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 587 of file svdundo.cxx.
References SdrUndoObj::ImpShowPageOfThisObject(), mbSkipChangeLayout, SdrUndoObj::mxObj, pRedoGeo, pUndoGeo, pUndoGroup, and sdr::table::SdrTableObj::SetSkipChangeLayout().
Referenced by SdrDragView::BrkDragObj().
|
private |
If we have a table object, should its layout change?
Definition at line 219 of file svdundo.hxx.
Referenced by Undo().
|
private |
Definition at line 215 of file svdundo.hxx.
Referenced by Redo(), Undo(), and ~SdrUndoGeoObj().
|
private |
Definition at line 214 of file svdundo.hxx.
Referenced by Redo(), SdrUndoGeoObj(), Undo(), and ~SdrUndoGeoObj().
|
private |
Definition at line 217 of file svdundo.hxx.
Referenced by Redo(), SdrUndoGeoObj(), Undo(), and ~SdrUndoGeoObj().