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

Changing the MasterPageDescriptor (e.g. More...

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoPageChangeMasterPage (SdrPage &rChangedPage)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from SdrUndoPageMasterPage
virtual SVX_DLLPUBLIC ~SdrUndoPageMasterPage () override
 
- Public Member Functions inherited from SdrUndoAction
virtual ~SdrUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &rView) const override
 
virtual void Repeat (SfxRepeatTarget &rView) override
 
virtual OUString GetRepeatComment (SfxRepeatTarget &rView) const override
 
virtual OUString GetSdrRepeatComment () const
 
virtual bool CanSdrRepeat (SdrView &rView) const
 
virtual void SdrRepeat (SdrView &rView)
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

bool mbNewHadMasterPage
 
SdrLayerIDSet maNewSet
 
sal_uInt16 maNewMasterPageNumber
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoPageMasterPage
 SdrUndoPageMasterPage (SdrPage &rChangedPage)
 
- Protected Member Functions inherited from SdrUndoPage
void ImpInsertPage (sal_uInt16 nNum)
 
void ImpRemovePage (sal_uInt16 nNum)
 
void ImpMovePage (sal_uInt16 nOldNum, sal_uInt16 nNewNum)
 
 SdrUndoPage (SdrPage &rNewPg)
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Static Protected Member Functions inherited from SdrUndoPage
static OUString ImpGetDescriptionStr (const char *pStrCacheID)
 
- Protected Attributes inherited from SdrUndoPageMasterPage
bool const mbOldHadMasterPage
 
SdrLayerIDSet maOldSet
 
sal_uInt16 maOldMasterPageNumber
 
- Protected Attributes inherited from SdrUndoPage
SdrPagemrPage
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Changing the MasterPageDescriptor (e.g.

change of the VisibleLayer). Create Action before changing the MasterPageDescriptors.

Definition at line 681 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoPageChangeMasterPage::SdrUndoPageChangeMasterPage ( SdrPage rChangedPage)

Definition at line 1597 of file svdundo.cxx.

Member Function Documentation

OUString SdrUndoPageChangeMasterPage::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1634 of file svdundo.cxx.

References SdrUndoPage::ImpGetDescriptionStr().

void SdrUndoPageChangeMasterPage::Redo ( )
overridevirtual
void SdrUndoPageChangeMasterPage::Undo ( )
overridevirtual

Member Data Documentation

sal_uInt16 SdrUndoPageChangeMasterPage::maNewMasterPageNumber
private

Definition at line 685 of file svdundo.hxx.

Referenced by Redo(), and Undo().

SdrLayerIDSet SdrUndoPageChangeMasterPage::maNewSet
private

Definition at line 684 of file svdundo.hxx.

Referenced by Redo(), and Undo().

bool SdrUndoPageChangeMasterPage::mbNewHadMasterPage
private

Definition at line 683 of file svdundo.hxx.

Referenced by Redo(), and Undo().


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