LibreOffice Module svx (master) 1
|
Inserting a new Layer. More...
#include <svdundo.hxx>
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 DateTime & | GetDateTime () 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 * | pLayer |
SdrLayerAdmin * | pLayerAdmin |
sal_uInt16 | nNum |
bool | bItsMine |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
|
inline |
Definition at line 523 of file svdundo.hxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1278 of file svdundo.cxx.
References SvxResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1271 of file svdundo.cxx.
References SdrUndoLayer::bItsMine, DBG_ASSERT, SdrLayerAdmin::InsertLayer(), SdrUndoLayer::nNum, SdrUndoLayer::pLayer, and SdrUndoLayer::pLayerAdmin.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1262 of file svdundo.cxx.
References SdrUndoLayer::bItsMine, DBG_ASSERT, SdrUndoLayer::nNum, SdrUndoLayer::pLayer, SdrUndoLayer::pLayerAdmin, and SdrLayerAdmin::RemoveLayer().