LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
SdrUndoObjOrdNum Class Referencefinal

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoObjOrdNum (SdrObject &rNewObj, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () 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
 
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 UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

sal_uInt32 const nOldOrdNum
 
sal_uInt32 const nNewOrdNum
 

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)
 
- Protected Attributes inherited from SdrUndoObj
SdrObjectpObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 365 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoObjOrdNum::SdrUndoObjOrdNum ( SdrObject rNewObj,
sal_uInt32  nOldOrdNum1,
sal_uInt32  nNewOrdNum1 
)

Definition at line 929 of file svdundo.cxx.

Member Function Documentation

OUString SdrUndoObjOrdNum::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 964 of file svdundo.cxx.

References SdrUndoObj::ImpGetDescriptionStr().

void SdrUndoObjOrdNum::Redo ( )
overridevirtual
void SdrUndoObjOrdNum::Undo ( )
overridevirtual

Member Data Documentation

sal_uInt32 const SdrUndoObjOrdNum::nNewOrdNum
private

Definition at line 368 of file svdundo.hxx.

Referenced by Redo(), and Undo().

sal_uInt32 const SdrUndoObjOrdNum::nOldOrdNum
private

Definition at line 367 of file svdundo.hxx.

Referenced by Redo(), and Undo().


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