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

Abstract base class for all UndoActions that handle objects. More...

#include <svdundo.hxx>

Inheritance diagram for SdrUndoObj:
Collaboration diagram for SdrUndoObj:

Protected Member Functions

 SdrUndoObj (SdrObject &rNewObj)
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

- Protected Attributes inherited from SdrUndoAction
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 bool Merge (SfxUndoAction *pNextAction)
virtual OUString GetComment () const
const DateTimeGetDateTime () const
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const

Detailed Description

Abstract base class for all UndoActions that handle objects.

Definition at line 127 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoObj::SdrUndoObj ( SdrObject rNewObj)

Definition at line 195 of file svdundo.cxx.

Member Function Documentation

OUString SdrUndoObj::GetDescriptionStringForObject ( const SdrObject _rForObject,
TranslateId  pStrCacheID,
bool  bRepeat = false 

Definition at line 201 of file svdundo.cxx.

References nPos, SvxResId(), and SdrObject::TakeObjNameSingul().

Referenced by SdrUndoNewObj::GetComment(), and ImpGetDescriptionStr().

OUString SdrUndoObj::ImpGetDescriptionStr ( TranslateId  pStrCacheID,
bool  bRepeat = false 
) const
void SdrUndoObj::ImpShowPageOfThisObject ( )

Member Data Documentation

SdrObject* SdrUndoObj::pObj

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