LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::UndoObjectSetText Class Referencefinal

#include <undoobjects.hxx>

Inheritance diagram for sd::UndoObjectSetText:
[legend]
Collaboration diagram for sd::UndoObjectSetText:
[legend]

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< SfxUndoActionmpUndoAnimation
 
bool mbNewEmptyPresObj
 
::unotools::WeakReference< SdrObjectmxSdrObject
 

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< SdrObjectmxObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 84 of file undoobjects.hxx.

Constructor & Destructor Documentation

◆ UndoObjectSetText()

UndoObjectSetText::UndoObjectSetText ( SdrObject rNewObj,
sal_Int32  nText 
)

◆ ~UndoObjectSetText()

UndoObjectSetText::~UndoObjectSetText ( )
overridevirtual

Definition at line 194 of file undoobjects.cxx.

Member Function Documentation

◆ Redo()

void UndoObjectSetText::Redo ( )
overridevirtual

◆ Undo()

void UndoObjectSetText::Undo ( )
overridevirtual

Member Data Documentation

◆ mbNewEmptyPresObj

bool sd::UndoObjectSetText::mbNewEmptyPresObj
private

Definition at line 95 of file undoobjects.hxx.

Referenced by Redo(), and Undo().

◆ mpUndoAnimation

std::unique_ptr<SfxUndoAction> sd::UndoObjectSetText::mpUndoAnimation
private

Definition at line 94 of file undoobjects.hxx.

Referenced by Redo(), Undo(), and UndoObjectSetText().

◆ mxSdrObject

::unotools::WeakReference<SdrObject> sd::UndoObjectSetText::mxSdrObject
private

Definition at line 96 of file undoobjects.hxx.

Referenced by Redo(), and Undo().


The documentation for this class was generated from the following files: