LibreOffice Module svx (master) 1
|
Abstract base class for all UndoActions that handle objects. More...
#include <svdundo.hxx>
Protected Member Functions | |
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 | |
static OUString | GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false) |
Protected Attributes | |
rtl::Reference< SdrObject > | mxObj |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Additional Inherited Members | |
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 |
Abstract base class for all UndoActions that handle objects.
Definition at line 127 of file svdundo.hxx.
|
protected |
Definition at line 197 of file svdundo.cxx.
|
overrideprotectedvirtual |
Definition at line 203 of file svdundo.cxx.
|
staticprotected |
Definition at line 205 of file svdundo.cxx.
References nPos, SvxResId(), and SdrObject::TakeObjNameSingul().
Referenced by SdrUndoNewObj::GetComment(), and ImpGetDescriptionStr().
|
protected |
Definition at line 219 of file svdundo.cxx.
References GetDescriptionStringForObject(), and mxObj.
Referenced by SdrUndoAttrObj::GetComment(), SdrUndoMoveObj::GetComment(), SdrUndoGeoObj::GetComment(), SdrUndoDiagramModelData::GetComment(), SdrUndoDelObj::GetComment(), SdrUndoNewObj::GetComment(), SdrUndoCopyObj::GetComment(), SdrUndoObjOrdNum::GetComment(), SdrUndoObjSetText::GetComment(), SdrUndoObjStrAttr::GetComment(), SdrUndoObjDecorative::GetComment(), SdrUndoAttrObj::GetSdrRepeatComment(), SdrUndoMoveObj::GetSdrRepeatComment(), SdrUndoDelObj::GetSdrRepeatComment(), SdrUndoObjSetText::GetSdrRepeatComment(), and SdrUndoObjSetText::SdrRepeat().
|
protected |
Definition at line 227 of file svdundo.cxx.
References mxObj, and SwitchToPage.
Referenced by SdrUndoAttrObj::Redo(), SdrUndoMoveObj::Redo(), SdrUndoGeoObj::Redo(), SdrUndoRemoveObj::Redo(), SdrUndoInsertObj::Redo(), SdrUndoReplaceObj::Redo(), SdrUndoObjOrdNum::Redo(), SdrUndoObjectLayerChange::Redo(), SdrUndoObjSetText::Redo(), SdrUndoObjStrAttr::Redo(), SdrUndoObjDecorative::Redo(), SdrUndoAttrObj::Undo(), SdrUndoMoveObj::Undo(), SdrUndoGeoObj::Undo(), SdrUndoRemoveObj::Undo(), SdrUndoInsertObj::Undo(), SdrUndoReplaceObj::Undo(), SdrUndoObjOrdNum::Undo(), SdrUndoObjectLayerChange::Undo(), SdrUndoObjSetText::Undo(), SdrUndoObjStrAttr::Undo(), and SdrUndoObjDecorative::Undo().
|
protected |
Definition at line 130 of file svdundo.hxx.
Referenced by SdrUndoObjSetText::AfterSetText(), ImpGetDescriptionStr(), SdrUndoDiagramModelData::implUndoRedo(), ImpShowPageOfThisObject(), SdrUndoAttrObj::Redo(), SdrUndoMoveObj::Redo(), SdrUndoGeoObj::Redo(), SdrUndoRemoveObj::Redo(), SdrUndoInsertObj::Redo(), SdrUndoReplaceObj::Redo(), SdrUndoObjOrdNum::Redo(), SdrUndoObjectLayerChange::Redo(), SdrUndoObjSetText::Redo(), SdrUndoObjStrAttr::Redo(), SdrUndoObjDecorative::Redo(), SdrUndoAttrObj::SdrUndoAttrObj(), SdrUndoGeoObj::SdrUndoGeoObj(), SdrUndoObjList::SdrUndoObjList(), SdrUndoReplaceObj::SdrUndoReplaceObj(), SdrUndoAttrObj::Undo(), SdrUndoMoveObj::Undo(), SdrUndoGeoObj::Undo(), SdrUndoRemoveObj::Undo(), SdrUndoInsertObj::Undo(), SdrUndoReplaceObj::Undo(), SdrUndoObjOrdNum::Undo(), SdrUndoObjectLayerChange::Undo(), SdrUndoObjSetText::Undo(), SdrUndoObjStrAttr::Undo(), and SdrUndoObjDecorative::Undo().