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

Deleting a Layer. More...

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoDelLayer (sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel)
 
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 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
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoLayer
 SdrUndoLayer (sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel)
 
virtual ~SdrUndoLayer () override
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Protected Attributes inherited from SdrUndoLayer
SdrLayerpLayer
 
SdrLayerAdminpLayerAdmin
 
sal_uInt16 nNum
 
bool bItsMine
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Deleting a Layer.

Create Action before the Remove.

Definition at line 537 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoDelLayer()

SdrUndoDelLayer::SdrUndoDelLayer ( sal_uInt16  nLayerNum,
SdrLayerAdmin rNewLayerAdmin,
SdrModel rNewModel 
)
inline

Definition at line 540 of file svdundo.hxx.

References SdrUndoLayer::bItsMine.

Member Function Documentation

◆ GetComment()

OUString SdrUndoDelLayer::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1300 of file svdundo.cxx.

References SvxResId().

◆ Redo()

void SdrUndoDelLayer::Redo ( )
overridevirtual

◆ Undo()

void SdrUndoDelLayer::Undo ( )
overridevirtual

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