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

Deleting a Page. More...

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoDelPage (SdrPage &rNewPg)
 
virtual ~SdrUndoDelPage () override
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
virtual OUString GetSdrRepeatComment () const override
 
virtual void SdrRepeat (SdrView &rView) override
 
virtual bool CanSdrRepeat (SdrView &rView) const 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
 
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 Member Functions

void queryFillBitmap (const SfxItemSet &rItemSet)
 
void clearFillBitmap ()
 
void restoreFillBitmap ()
 

Private Attributes

std::unique_ptr< SdrUndoGrouppUndoGroup
 
std::unique_ptr< SfxPoolItemmpFillBitmapItem
 
bool mbHasFillBitmap
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoPageList
 SdrUndoPageList (SdrPage &rNewPg)
 
virtual ~SdrUndoPageList () override
 
- 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 SdrUndoPageList
sal_uInt16 nPageNum
 
bool bItsMine
 
- Protected Attributes inherited from SdrUndoPage
SdrPagemrPage
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Deleting a Page.

Create Action before removing from the List.

Definition at line 556 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoDelPage::SdrUndoDelPage ( SdrPage rNewPg)
SdrUndoDelPage::~SdrUndoDelPage ( )
overridevirtual

Definition at line 1397 of file svdundo.cxx.

Member Function Documentation

bool SdrUndoDelPage::CanSdrRepeat ( SdrView rView) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 1439 of file svdundo.cxx.

void SdrUndoDelPage::clearFillBitmap ( )
private
OUString SdrUndoDelPage::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1425 of file svdundo.cxx.

References SdrUndoPage::ImpGetDescriptionStr().

OUString SdrUndoDelPage::GetSdrRepeatComment ( ) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 1430 of file svdundo.cxx.

References SdrUndoPage::ImpGetDescriptionStr().

void SdrUndoDelPage::queryFillBitmap ( const SfxItemSet rItemSet)
private
void SdrUndoDelPage::Redo ( )
overridevirtual
void SdrUndoDelPage::restoreFillBitmap ( )
private
void SdrUndoDelPage::SdrRepeat ( SdrView rView)
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 1435 of file svdundo.cxx.

void SdrUndoDelPage::Undo ( )
overridevirtual

Member Data Documentation

bool SdrUndoDelPage::mbHasFillBitmap
private

Definition at line 562 of file svdundo.hxx.

Referenced by clearFillBitmap(), queryFillBitmap(), and restoreFillBitmap().

std::unique_ptr<SfxPoolItem> SdrUndoDelPage::mpFillBitmapItem
private

Definition at line 561 of file svdundo.hxx.

Referenced by queryFillBitmap(), Redo(), restoreFillBitmap(), SdrUndoDelPage(), and Undo().

std::unique_ptr<SdrUndoGroup> SdrUndoDelPage::pUndoGroup
private

Definition at line 560 of file svdundo.hxx.

Referenced by SdrUndoDelPage(), and Undo().


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