LibreOffice Module svx (master)  1
Public Member Functions | Protected Attributes | List of all members
SdrUndoObjSetText Class Reference

#include <svdundo.hxx>

Inheritance diagram for SdrUndoObjSetText:
[legend]
Collaboration diagram for SdrUndoObjSetText:
[legend]

Public Member Functions

 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
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Protected Attributes

std::unique_ptr< OutlinerParaObjectpOldText
 
std::unique_ptr< OutlinerParaObjectpNewText
 
bool bNewTextAvailable
 
bool bEmptyPresObj
 
sal_Int32 const mnText
 
- Protected Attributes inherited from SdrUndoObj
SdrObjectpObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoObj
 SdrUndoObj (SdrObject &rNewObj)
 
OUString ImpGetDescriptionStr (const char *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, const char *pStrCacheID, bool bRepeat=false)
 

Detailed Description

Definition at line 394 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoObjSetText::SdrUndoObjSetText ( SdrObject rNewObj,
sal_Int32  nText 
)
SdrUndoObjSetText::~SdrUndoObjSetText ( )
overridevirtual

Definition at line 983 of file svdundo.cxx.

References pNewText, and pOldText.

Member Function Documentation

void SdrUndoObjSetText::AfterSetText ( )

Definition at line 989 of file svdundo.cxx.

References bNewTextAvailable, SdrText::GetOutlinerParaObject(), mnText, pNewText, and SdrUndoObj::pObj.

Referenced by Undo().

bool SdrUndoObjSetText::CanSdrRepeat ( SdrView rView) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 1124 of file svdundo.cxx.

References SdrMarkView::AreObjectsMarked(), and bNewTextAvailable.

OUString SdrUndoObjSetText::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1079 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

OUString SdrUndoObjSetText::GetSdrRepeatComment ( ) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 1084 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

bool SdrUndoObjSetText::IsDifferent ( ) const
inline

Definition at line 409 of file svdundo.hxx.

void SdrUndoObjSetText::Redo ( )
overridevirtual
void SdrUndoObjSetText::SdrRepeat ( SdrView rView)
overridevirtual
void SdrUndoObjSetText::Undo ( )
overridevirtual

Member Data Documentation

bool SdrUndoObjSetText::bEmptyPresObj
protected

Definition at line 402 of file svdundo.hxx.

Referenced by SdrUndoObjSetText(), and Undo().

bool SdrUndoObjSetText::bNewTextAvailable
protected

Definition at line 401 of file svdundo.hxx.

Referenced by AfterSetText(), CanSdrRepeat(), SdrRepeat(), and Undo().

sal_Int32 const SdrUndoObjSetText::mnText
protected

Definition at line 403 of file svdundo.hxx.

Referenced by AfterSetText(), Redo(), SdrUndoObjSetText(), and Undo().

std::unique_ptr<OutlinerParaObject> SdrUndoObjSetText::pNewText
protected

Definition at line 400 of file svdundo.hxx.

Referenced by AfterSetText(), Redo(), SdrRepeat(), and ~SdrUndoObjSetText().

std::unique_ptr<OutlinerParaObject> SdrUndoObjSetText::pOldText
protected

Definition at line 398 of file svdundo.hxx.

Referenced by SdrUndoObjSetText(), Undo(), and ~SdrUndoObjSetText().


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