LibreOffice Module sd (master) 1
|
#include <undoobjects.hxx>
Public Member Functions | |
UndoObjectSetText (SdrObject &rNewObj, sal_Int32 nText) | |
virtual | ~UndoObjectSetText () override |
virtual void | Undo () override |
virtual void | Redo () override |
Public Member Functions inherited from SdrUndoObjSetText | |
SdrUndoObjSetText (SdrObject &rNewObj, sal_Int32 nText) | |
virtual | ~SdrUndoObjSetText () override |
bool | IsDifferent () const |
void | AfterSetText () |
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 |
Private Attributes | |
std::unique_ptr< SfxUndoAction > | mpUndoAnimation |
bool | mbNewEmptyPresObj |
::unotools::WeakReference< SdrObject > | mxSdrObject |
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 |
Definition at line 84 of file undoobjects.hxx.
UndoObjectSetText::UndoObjectSetText | ( | SdrObject & | rNewObj, |
sal_Int32 | nText | ||
) |
Definition at line 175 of file undoobjects.cxx.
References SdPage::getMainSequence(), SdrPage::getSdrModelFromSdrPage(), SdrObject::getSdrPageFromSdrObject(), SdrObject::getUnoShape(), SdPage::hasAnimationNode(), and mpUndoAnimation.
|
overridevirtual |
Definition at line 194 of file undoobjects.cxx.
|
overridevirtual |
Reimplemented from SdrUndoObjSetText.
Definition at line 210 of file undoobjects.cxx.
References DBG_ASSERT, unotools::WeakReference< class interface_type >::get(), mbNewEmptyPresObj, mpUndoAnimation, mxSdrObject, and SdrUndoObjSetText::Redo().
|
overridevirtual |
Reimplemented from SdrUndoObjSetText.
Definition at line 198 of file undoobjects.cxx.
References DBG_ASSERT, unotools::WeakReference< class interface_type >::get(), mbNewEmptyPresObj, mpUndoAnimation, mxSdrObject, and SdrUndoObjSetText::Undo().
|
private |
Definition at line 95 of file undoobjects.hxx.
|
private |
Definition at line 94 of file undoobjects.hxx.
Referenced by Redo(), Undo(), and UndoObjectSetText().
|
private |
Definition at line 96 of file undoobjects.hxx.