LibreOffice Module svx (master) 1
|
Only moving of an object. More...
#include <svdundo.hxx>
Public Member Functions | |
SdrUndoMoveObj (SdrObject &rNewObj, const Size &rDist) | |
virtual | ~SdrUndoMoveObj () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () const override |
virtual OUString | GetSdrRepeatComment () const override |
virtual void | SdrRepeat (SdrView &rView) override |
virtual bool | CanSdrRepeat (SdrView &rView) const 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 |
Private Attributes | |
Size | aDistance |
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 |
Only moving of an object.
Create Action right before moving.
Definition at line 189 of file svdundo.hxx.
Definition at line 194 of file svdundo.hxx.
|
overridevirtual |
Definition at line 519 of file svdundo.cxx.
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 547 of file svdundo.cxx.
References SdrMarkView::AreObjectsMarked().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 537 of file svdundo.cxx.
References SdrUndoObj::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 552 of file svdundo.cxx.
References SdrUndoObj::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 529 of file svdundo.cxx.
References aDistance, Size::Height(), SdrUndoObj::ImpShowPageOfThisObject(), SdrUndoObj::mxObj, and Size::Width().
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 542 of file svdundo.cxx.
References aDistance, and SdrEditView::MoveMarkedObj().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 521 of file svdundo.cxx.
References aDistance, Size::Height(), SdrUndoObj::ImpShowPageOfThisObject(), SdrUndoObj::mxObj, and Size::Width().
|
private |
Definition at line 191 of file svdundo.hxx.
Referenced by Redo(), SdrRepeat(), and Undo().