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:
[legend]
Collaboration diagram for SdrUndoObj:
[legend]

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
 

Detailed Description

Abstract base class for all UndoActions that handle objects.

Definition at line 127 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoObj()

SdrUndoObj::SdrUndoObj ( SdrObject &  rNewObj)
protected

Definition at line 197 of file svdundo.cxx.

◆ ~SdrUndoObj()

SdrUndoObj::~SdrUndoObj ( )
overrideprotectedvirtual

Definition at line 203 of file svdundo.cxx.

Member Function Documentation

◆ GetDescriptionStringForObject()

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

Definition at line 205 of file svdundo.cxx.

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

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

◆ ImpGetDescriptionStr()

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

◆ ImpShowPageOfThisObject()

void SdrUndoObj::ImpShowPageOfThisObject ( )
protected

Member Data Documentation

◆ mxObj

rtl::Reference<SdrObject> SdrUndoObj::mxObj
protected

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