LibreOffice Module svx (master) 1
|
Inserting Objects into an ObjectList. More...
#include <svdundo.hxx>
Public Member Functions | |
SdrUndoInsertObj (SdrObject &rNewObj, bool bOrdNumDirect=false) | |
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 DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoObjList | |
SdrUndoObjList (SdrObject &rNewObj, bool bOrdNumDirect) | |
virtual | ~SdrUndoObjList () override |
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 SdrUndoObjList | |
SdrObjList * | pObjList |
sal_uInt32 | nOrdNum |
Protected Attributes inherited from SdrUndoObj | |
rtl::Reference< SdrObject > | mxObj |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Inserting Objects into an ObjectList.
Use with corresponding Removes within an UndoGroup. Create Action before removal from ObjList.
Definition at line 293 of file svdundo.hxx.
|
inline |
Definition at line 296 of file svdundo.hxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Reimplemented in SdrUndoNewObj.
Definition at line 758 of file svdundo.cxx.
References DBG_ASSERT, SdrObjList::getSdrObjectFromSdrObjList(), SdrUndoObj::ImpShowPageOfThisObject(), SdrObjList::InsertObject(), SdrUndoObj::mxObj, SdrUndoObjList::nOrdNum, SdrUndoObjList::pObjList, Point::X(), and Point::Y().
Referenced by SdrUndoNewObj::Redo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Reimplemented in SdrUndoNewObj.
Definition at line 743 of file svdundo.cxx.
References DBG_ASSERT, ImplUnmarkObject(), SdrUndoObj::ImpShowPageOfThisObject(), SdrUndoObj::mxObj, SdrUndoObjList::pObjList, and SdrObjList::RemoveObject().
Referenced by SdrUndoNewObj::Undo().