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

Inserting a new Layer. More...

#include <svdundo.hxx>

Inheritance diagram for SdrUndoNewLayer:
Collaboration diagram for SdrUndoNewLayer:

Public Member Functions

 SdrUndoNewLayer (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
sal_uInt16 nNum
bool bItsMine
- Protected Attributes inherited from SdrUndoAction
ViewShellId m_nViewShellId

Detailed Description

Inserting a new Layer.

Create Action after Insertion.

Definition at line 520 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoNewLayer()

SdrUndoNewLayer::SdrUndoNewLayer ( sal_uInt16  nLayerNum,
SdrLayerAdmin rNewLayerAdmin,
SdrModel rNewModel 

Definition at line 523 of file svdundo.hxx.

Member Function Documentation

◆ GetComment()

OUString SdrUndoNewLayer::GetComment ( ) const

Reimplemented from SfxUndoAction.

Definition at line 1278 of file svdundo.cxx.

References SvxResId().

◆ Redo()

void SdrUndoNewLayer::Redo ( )

◆ Undo()

void SdrUndoNewLayer::Undo ( )

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