LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
RenameLayoutTemplateUndoAction Class Referencefinal

#include <unmodpg.hxx>

Inheritance diagram for RenameLayoutTemplateUndoAction:
[legend]
Collaboration diagram for RenameLayoutTemplateUndoAction:
[legend]

Public Member Functions

 RenameLayoutTemplateUndoAction (SdDrawDocument *pDocument, OUString aOldLayoutName, OUString aNewLayoutName)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from SdUndoAction
 SdUndoAction (SdDrawDocument *pSdDrawDocument)
 
void SetComment (const OUString &rStr)
 
virtual OUString GetComment () const override
 
virtual SdUndoActionClone () const
 
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
 

Private Attributes

OUString maOldName
 
OUString maNewName
 
const OUString maComment
 

Additional Inherited Members

- Protected Attributes inherited from SdUndoAction
SdDrawDocumentmpDoc
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 83 of file unmodpg.hxx.

Constructor & Destructor Documentation

◆ RenameLayoutTemplateUndoAction()

RenameLayoutTemplateUndoAction::RenameLayoutTemplateUndoAction ( SdDrawDocument pDocument,
OUString  aOldLayoutName,
OUString  aNewLayoutName 
)

Definition at line 243 of file unmodpg.cxx.

References maComment, maOldName, nPos, and SD_LT_SEPARATOR.

Member Function Documentation

◆ GetComment()

OUString RenameLayoutTemplateUndoAction::GetComment ( ) const
overridevirtual

Reimplemented from SdUndoAction.

Definition at line 269 of file unmodpg.cxx.

References maComment.

◆ Redo()

void RenameLayoutTemplateUndoAction::Redo ( )
overridevirtual

◆ Undo()

void RenameLayoutTemplateUndoAction::Undo ( )
overridevirtual

Member Data Documentation

◆ maComment

const OUString RenameLayoutTemplateUndoAction::maComment
private

Definition at line 99 of file unmodpg.hxx.

Referenced by GetComment().

◆ maNewName

OUString RenameLayoutTemplateUndoAction::maNewName
private

Definition at line 98 of file unmodpg.hxx.

Referenced by Redo(), and Undo().

◆ maOldName

OUString RenameLayoutTemplateUndoAction::maOldName
private

Definition at line 97 of file unmodpg.hxx.

Referenced by Redo(), RenameLayoutTemplateUndoAction(), and Undo().


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