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) |
![]() | |
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... | |
![]() | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual void | UndoWithContext (SfxUndoContext &i_context) |
virtual void | RedoWithContext (SfxUndoContext &i_context) |
virtual bool | Merge (SfxUndoAction *pNextAction) |
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 | |
![]() | |
SdrUndoObj (SdrObject &rNewObj) | |
OUString | ImpGetDescriptionStr (const char *pStrCacheID, bool bRepeat=false) const |
void | ImpShowPageOfThisObject () |
![]() | |
SdrUndoAction (SdrModel &rNewMod) | |
![]() | |
static OUString | GetDescriptionStringForObject (const SdrObject &_rForObject, const char *pStrCacheID, bool bRepeat=false) |
![]() | |
SdrObject * | pObj |
![]() | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Changing the geometry of an object.
Create Action right before the geometric transformation.
Definition at line 207 of file svdundo.hxx.
SdrUndoGeoObj::SdrUndoGeoObj | ( | SdrObject & | rNewObj | ) |
Definition at line 553 of file svdundo.cxx.
References SdrObject::GetGeoData(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getSdrModelFromSdrObject(), SdrObject::GetSubList(), SdrUndoObj::pObj, pUndoGeo, and pUndoGroup.
|
overridevirtual |
Definition at line 575 of file svdundo.cxx.
References pRedoGeo, pUndoGeo, and pUndoGroup.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 626 of file svdundo.cxx.
References SdrUndoObj::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 607 of file svdundo.cxx.
References SdrObject::ActionChanged(), SdrObject::GetGeoData(), SdrUndoObj::ImpShowPageOfThisObject(), SdrUndoObj::pObj, pRedoGeo, pUndoGeo, pUndoGroup, and SdrObject::SetGeoData().
|
inline |
Definition at line 224 of file svdundo.hxx.
Referenced by sdr::table::SvxTableController::changeTableEdge(), and SdrDragObjOwn::EndSdrDrag().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 582 of file svdundo.cxx.
References SdrObject::ActionChanged(), SdrObject::GetGeoData(), SdrUndoObj::ImpShowPageOfThisObject(), mbSkipChangeLayout, SdrUndoObj::pObj, pRedoGeo, pUndoGeo, pUndoGroup, SdrObject::SetGeoData(), and sdr::table::SdrTableObj::SetSkipChangeLayout().
Referenced by SdrDragView::BrkDragObj().
|
private |
If we have a table object, should its layout change?
Definition at line 214 of file svdundo.hxx.
Referenced by Undo().
|
private |
Definition at line 210 of file svdundo.hxx.
Referenced by Redo(), Undo(), and ~SdrUndoGeoObj().
|
private |
Definition at line 209 of file svdundo.hxx.
Referenced by Redo(), SdrUndoGeoObj(), Undo(), and ~SdrUndoGeoObj().
|
private |
Definition at line 212 of file svdundo.hxx.
Referenced by Redo(), SdrUndoGeoObj(), Undo(), and ~SdrUndoGeoObj().