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)
 
OUString ImpGetDescriptionStr (const char *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, const char *pStrCacheID, bool bRepeat=false)
 

Protected Attributes

SdrObjectpObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
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 120 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoObj::SdrUndoObj ( SdrObject rNewObj)
protected

Definition at line 196 of file svdundo.cxx.

Member Function Documentation

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

Definition at line 202 of file svdundo.cxx.

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

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

OUString SdrUndoObj::ImpGetDescriptionStr ( const char *  pStrCacheID,
bool  bRepeat = false 
) const
protected
void SdrUndoObj::ImpShowPageOfThisObject ( )
protected

Member Data Documentation

SdrObject* SdrUndoObj::pObj
protected

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