LibreOffice Module sd (master) 1
|
#include <undolayer.hxx>
Public Member Functions | |
SdLayerModifyUndoAction (SdDrawDocument *_pDoc, SdrLayer *pLayer, OUString aOldLayerName, OUString aOldLayerTitle, OUString aOldLayerDesc, bool bOldIsVisible, bool bOldIsLocked, bool bOldIsPrintable, OUString aNewLayerName, OUString aNewLayerTitle, OUString aNewLayerDesc, bool bNewIsVisible, bool bNewIsLocked, bool bNewIsPrintable) | |
virtual void | Undo () override |
virtual void | Redo () override |
![]() | |
SdUndoAction (SdDrawDocument *pSdDrawDocument) | |
void | SetComment (const OUString &rStr) |
virtual OUString | GetComment () const override |
virtual SdUndoAction * | Clone () const |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
![]() | |
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 |
Private Attributes | |
SdrLayer * | mpLayer |
OUString | maOldLayerName |
OUString | maOldLayerTitle |
OUString | maOldLayerDesc |
bool | mbOldIsVisible |
bool | mbOldIsLocked |
bool | mbOldIsPrintable |
OUString | maNewLayerName |
OUString | maNewLayerTitle |
OUString | maNewLayerDesc |
bool | mbNewIsVisible |
bool | mbNewIsLocked |
bool | mbNewIsPrintable |
Additional Inherited Members | |
![]() | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 29 of file undolayer.hxx.
SdLayerModifyUndoAction::SdLayerModifyUndoAction | ( | SdDrawDocument * | _pDoc, |
SdrLayer * | pLayer, | ||
OUString | aOldLayerName, | ||
OUString | aOldLayerTitle, | ||
OUString | aOldLayerDesc, | ||
bool | bOldIsVisible, | ||
bool | bOldIsLocked, | ||
bool | bOldIsPrintable, | ||
OUString | aNewLayerName, | ||
OUString | aNewLayerTitle, | ||
OUString | aNewLayerDesc, | ||
bool | bNewIsVisible, | ||
bool | bNewIsLocked, | ||
bool | bNewIsPrintable | ||
) |
Definition at line 30 of file undolayer.cxx.
References SdResId(), and SdUndoAction::SetComment().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 66 of file undolayer.cxx.
References SdDrawDocument::GetDocSh(), sd::DrawDocShell::GetViewShell(), maNewLayerDesc, maNewLayerName, maNewLayerTitle, mbNewIsLocked, mbNewIsPrintable, mbNewIsVisible, sd::DrawViewShell::ModifyLayer(), SdUndoAction::mpDoc, and mpLayer.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 53 of file undolayer.cxx.
References SdDrawDocument::GetDocSh(), sd::DrawDocShell::GetViewShell(), maOldLayerDesc, maOldLayerName, maOldLayerTitle, mbOldIsLocked, mbOldIsPrintable, mbOldIsVisible, sd::DrawViewShell::ModifyLayer(), SdUndoAction::mpDoc, and mpLayer.
|
private |
Definition at line 50 of file undolayer.hxx.
Referenced by Redo().
|
private |
Definition at line 48 of file undolayer.hxx.
Referenced by Redo().
|
private |
Definition at line 49 of file undolayer.hxx.
Referenced by Redo().
|
private |
Definition at line 44 of file undolayer.hxx.
Referenced by Undo().
|
private |
Definition at line 42 of file undolayer.hxx.
Referenced by Undo().
|
private |
Definition at line 43 of file undolayer.hxx.
Referenced by Undo().
|
private |
Definition at line 52 of file undolayer.hxx.
Referenced by Redo().
|
private |
Definition at line 53 of file undolayer.hxx.
Referenced by Redo().
|
private |
Definition at line 51 of file undolayer.hxx.
Referenced by Redo().
|
private |
Definition at line 46 of file undolayer.hxx.
Referenced by Undo().
|
private |
Definition at line 47 of file undolayer.hxx.
Referenced by Undo().
|
private |
Definition at line 45 of file undolayer.hxx.
Referenced by Undo().
|
private |
Definition at line 41 of file undolayer.hxx.