LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | List of all members
SdrUndoNewObj Class Reference

Inserting a NEW Object. More...

#include <svdundo.hxx>

Inheritance diagram for SdrUndoNewObj:
Collaboration diagram for SdrUndoNewObj:

Public Member Functions

 SdrUndoNewObj (SdrObject &rNewObj, bool bOrdNumDirect=false)
virtual void Undo () override
virtual void Redo () override
virtual OUString GetComment () const override
- Public Member Functions inherited from SdrUndoInsertObj
 SdrUndoInsertObj (SdrObject &rNewObj, bool bOrdNumDirect=false)
virtual void Undo () override
virtual void Redo () 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
 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 DateTimeGetDateTime () const
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const

Static Public Member Functions

static OUString GetComment (const SdrObject &_rForObject)

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoObjList
 SdrUndoObjList (SdrObject &rNewObj, bool bOrdNumDirect)
virtual ~SdrUndoObjList () override
bool IsOwner () const
void SetOwner (bool bNew)
- Protected Member Functions inherited from SdrUndoObj
 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 inherited from SdrUndoObj
static OUString GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false)
- Protected Attributes inherited from SdrUndoObjList
sal_uInt32 nOrdNum
- Protected Attributes inherited from SdrUndoObj
- Protected Attributes inherited from SdrUndoAction
ViewShellId m_nViewShellId

Detailed Description

Inserting a NEW Object.

Create Action after insertion into the ObjList.

Definition at line 333 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoNewObj()

SdrUndoNewObj::SdrUndoNewObj ( SdrObject rNewObj,
bool  bOrdNumDirect = false 

Definition at line 336 of file svdundo.hxx.

Member Function Documentation

◆ GetComment() [1/2]

OUString SdrUndoNewObj::GetComment ( ) const

Reimplemented from SfxUndoAction.

Reimplemented in SdrUndoCopyObj.

Definition at line 860 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

◆ GetComment() [2/2]

OUString SdrUndoNewObj::GetComment ( const SdrObject _rForObject)

Definition at line 855 of file svdundo.cxx.

References SdrUndoObj::GetDescriptionStringForObject().

◆ Redo()

void SdrUndoNewObj::Redo ( )

◆ Undo()

void SdrUndoNewObj::Undo ( )

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