LibreOffice Module sd (master) 1
|
#include <unmodpg.hxx>
Public Member Functions | |
RenameLayoutTemplateUndoAction (SdDrawDocument *pDocument, OUString aOldLayoutName, OUString aNewLayoutName) | |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () const 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 | |
OUString | maOldName |
OUString | maNewName |
const OUString | maComment |
Additional Inherited Members | |
![]() | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 83 of file unmodpg.hxx.
RenameLayoutTemplateUndoAction::RenameLayoutTemplateUndoAction | ( | SdDrawDocument * | pDocument, |
OUString | aOldLayoutName, | ||
OUString | aNewLayoutName | ||
) |
Definition at line 243 of file unmodpg.cxx.
References maComment, maOldName, nPos, and SD_LT_SEPARATOR.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 263 of file unmodpg.cxx.
References maNewName, maOldName, SdUndoAction::mpDoc, SdDrawDocument::RenameLayoutTemplate(), SD_LT_SEPARATOR, and STR_LAYOUT_OUTLINE.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 257 of file unmodpg.cxx.
References maNewName, maOldName, SdUndoAction::mpDoc, SdDrawDocument::RenameLayoutTemplate(), SD_LT_SEPARATOR, and STR_LAYOUT_OUTLINE.
|
private |
Definition at line 99 of file unmodpg.hxx.
Referenced by GetComment().
|
private |
Definition at line 98 of file unmodpg.hxx.
|
private |
Definition at line 97 of file unmodpg.hxx.
Referenced by Redo(), RenameLayoutTemplateUndoAction(), and Undo().