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:
[legend]
Collaboration diagram for SdrUndoNewLayer:
[legend]

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
SdrLayerpLayer
 
SdrLayerAdminpLayerAdmin
 
sal_uInt16 nNum
 
bool bItsMine
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
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 
)
inline

Definition at line 523 of file svdundo.hxx.

Member Function Documentation

◆ GetComment()

OUString SdrUndoNewLayer::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1278 of file svdundo.cxx.

References SvxResId().

◆ Redo()

void SdrUndoNewLayer::Redo ( )
overridevirtual

◆ Undo()

void SdrUndoNewLayer::Undo ( )
overridevirtual

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