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

#include <undolayer.hxx>

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

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
 
- 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

SdrLayermpLayer
 
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

- Protected Attributes inherited from SdUndoAction
SdDrawDocumentmpDoc
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 29 of file undolayer.hxx.

Constructor & Destructor Documentation

◆ SdLayerModifyUndoAction()

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().

Member Function Documentation

◆ Redo()

void SdLayerModifyUndoAction::Redo ( )
overridevirtual

◆ Undo()

void SdLayerModifyUndoAction::Undo ( )
overridevirtual

Member Data Documentation

◆ maNewLayerDesc

OUString SdLayerModifyUndoAction::maNewLayerDesc
private

Definition at line 50 of file undolayer.hxx.

Referenced by Redo().

◆ maNewLayerName

OUString SdLayerModifyUndoAction::maNewLayerName
private

Definition at line 48 of file undolayer.hxx.

Referenced by Redo().

◆ maNewLayerTitle

OUString SdLayerModifyUndoAction::maNewLayerTitle
private

Definition at line 49 of file undolayer.hxx.

Referenced by Redo().

◆ maOldLayerDesc

OUString SdLayerModifyUndoAction::maOldLayerDesc
private

Definition at line 44 of file undolayer.hxx.

Referenced by Undo().

◆ maOldLayerName

OUString SdLayerModifyUndoAction::maOldLayerName
private

Definition at line 42 of file undolayer.hxx.

Referenced by Undo().

◆ maOldLayerTitle

OUString SdLayerModifyUndoAction::maOldLayerTitle
private

Definition at line 43 of file undolayer.hxx.

Referenced by Undo().

◆ mbNewIsLocked

bool SdLayerModifyUndoAction::mbNewIsLocked
private

Definition at line 52 of file undolayer.hxx.

Referenced by Redo().

◆ mbNewIsPrintable

bool SdLayerModifyUndoAction::mbNewIsPrintable
private

Definition at line 53 of file undolayer.hxx.

Referenced by Redo().

◆ mbNewIsVisible

bool SdLayerModifyUndoAction::mbNewIsVisible
private

Definition at line 51 of file undolayer.hxx.

Referenced by Redo().

◆ mbOldIsLocked

bool SdLayerModifyUndoAction::mbOldIsLocked
private

Definition at line 46 of file undolayer.hxx.

Referenced by Undo().

◆ mbOldIsPrintable

bool SdLayerModifyUndoAction::mbOldIsPrintable
private

Definition at line 47 of file undolayer.hxx.

Referenced by Undo().

◆ mbOldIsVisible

bool SdLayerModifyUndoAction::mbOldIsVisible
private

Definition at line 45 of file undolayer.hxx.

Referenced by Undo().

◆ mpLayer

SdrLayer* SdLayerModifyUndoAction::mpLayer
private

Definition at line 41 of file undolayer.hxx.

Referenced by Redo(), and Undo().


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