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 UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
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
SdrLayer *const pLayer
 
SdrLayerAdminpLayerAdmin
 
sal_uInt16 const 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 497 of file svdundo.hxx.

Constructor & Destructor Documentation

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

Definition at line 500 of file svdundo.hxx.

References SdrUndoLayer::bItsMine.

Member Function Documentation

OUString SdrUndoDelLayer::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1266 of file svdundo.cxx.

References SvxResId().

void SdrUndoDelLayer::Redo ( )
overridevirtual
void SdrUndoDelLayer::Undo ( )
overridevirtual

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