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

#include <unmodpg.hxx>

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

Public Member Functions

 ModifyPageUndoAction (SdDrawDocument *pTheDoc, SdPage *pThePage, const OUString &aTheNewName, AutoLayout eTheNewAutoLayout, bool bTheNewBckgrndVisible, bool bTheNewBckgrndObjsVisible)
 
virtual ~ModifyPageUndoAction () override
 
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 SdUndoAction * Clone () 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 DateTime & GetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

SdPage * mpPage
 
OUString maOldName
 
OUString maNewName
 
AutoLayout meOldAutoLayout
 
AutoLayout meNewAutoLayout
 
bool mbOldBckgrndVisible
 
bool mbNewBckgrndVisible
 
bool mbOldBckgrndObjsVisible
 
bool mbNewBckgrndObjsVisible
 

Additional Inherited Members

- Protected Attributes inherited from SdUndoAction
SdDrawDocument * mpDoc
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 32 of file unmodpg.hxx.

Constructor & Destructor Documentation

◆ ModifyPageUndoAction()

ModifyPageUndoAction::ModifyPageUndoAction ( SdDrawDocument *  pTheDoc,
SdPage *  pThePage,
const OUString &  aTheNewName,
AutoLayout  eTheNewAutoLayout,
bool  bTheNewBckgrndVisible,
bool  bTheNewBckgrndObjsVisible 
)

◆ ~ModifyPageUndoAction()

ModifyPageUndoAction::~ModifyPageUndoAction ( )
overridevirtual

Definition at line 176 of file unmodpg.cxx.

Member Function Documentation

◆ Redo()

void ModifyPageUndoAction::Redo ( )
overridevirtual

◆ Undo()

void ModifyPageUndoAction::Undo ( )
overridevirtual

Member Data Documentation

◆ maNewName

OUString ModifyPageUndoAction::maNewName
private

Definition at line 36 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Redo().

◆ maOldName

OUString ModifyPageUndoAction::maOldName
private

Definition at line 35 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Undo().

◆ mbNewBckgrndObjsVisible

bool ModifyPageUndoAction::mbNewBckgrndObjsVisible
private

Definition at line 42 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Redo().

◆ mbNewBckgrndVisible

bool ModifyPageUndoAction::mbNewBckgrndVisible
private

Definition at line 40 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Redo().

◆ mbOldBckgrndObjsVisible

bool ModifyPageUndoAction::mbOldBckgrndObjsVisible
private

Definition at line 41 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Undo().

◆ mbOldBckgrndVisible

bool ModifyPageUndoAction::mbOldBckgrndVisible
private

Definition at line 39 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Undo().

◆ meNewAutoLayout

AutoLayout ModifyPageUndoAction::meNewAutoLayout
private

Definition at line 38 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Redo().

◆ meOldAutoLayout

AutoLayout ModifyPageUndoAction::meOldAutoLayout
private

Definition at line 37 of file unmodpg.hxx.

Referenced by ModifyPageUndoAction(), and Undo().

◆ mpPage

SdPage* ModifyPageUndoAction::mpPage
private

Definition at line 34 of file unmodpg.hxx.

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


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