LibreOffice Module svx (master) 1
Public Member Functions | List of all members
SdrUndoNewPage Class Reference

Inserting a new Page. More...

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoNewPage (SdrPage &rNewPg)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () 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
 
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 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
 

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)
 
 ~SdrUndoPage ()
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Static Protected Member Functions inherited from SdrUndoPage
static OUString ImpGetDescriptionStr (TranslateId pStrCacheID)
 
- Protected Attributes inherited from SdrUndoPageList
sal_uInt16 nPageNum
 
- Protected Attributes inherited from SdrUndoPage
rtl::Reference< SdrPagemxPage
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Inserting a new Page.

Create Action after inserting into the List.

Definition at line 625 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoNewPage()

SdrUndoNewPage::SdrUndoNewPage ( SdrPage rNewPg)
inline

Definition at line 628 of file svdundo.hxx.

Member Function Documentation

◆ GetComment()

OUString SdrUndoNewPage::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Reimplemented in SdrUndoCopyPage.

Definition at line 1533 of file svdundo.cxx.

References SdrUndoPage::ImpGetDescriptionStr().

◆ Redo()

void SdrUndoNewPage::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1528 of file svdundo.cxx.

References SdrUndoPage::ImpInsertPage(), and SdrUndoPageList::nPageNum.

◆ Undo()

void SdrUndoNewPage::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1523 of file svdundo.cxx.

References SdrUndoPage::ImpRemovePage(), and SdrUndoPageList::nPageNum.


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