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

#include <undopage.hxx>

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

Public Member Functions

 SdPageULUndoAction (SdDrawDocument *pDoc, SdPage *pThePage, sal_Int32 nOldUpr, sal_Int32 nOldLwr, sal_Int32 nNewUpr, sal_Int32 nNewLwr)
 
virtual ~SdPageULUndoAction () override
 
virtual void Undo () override
 
virtual void Redo () override
 UL-Redo() More...
 
- 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

SdPagempPage
 
sal_Int32 mnOldUpper
 
sal_Int32 mnOldLower
 
sal_Int32 mnNewUpper
 
sal_Int32 mnNewLower
 

Additional Inherited Members

- Protected Attributes inherited from SdUndoAction
SdDrawDocumentmpDoc
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 135 of file undopage.hxx.

Constructor & Destructor Documentation

◆ SdPageULUndoAction()

SdPageULUndoAction::SdPageULUndoAction ( SdDrawDocument pDoc,
SdPage pThePage,
sal_Int32  nOldUpr,
sal_Int32  nOldLwr,
sal_Int32  nNewUpr,
sal_Int32  nNewLwr 
)
inline

Definition at line 145 of file undopage.hxx.

◆ ~SdPageULUndoAction()

SdPageULUndoAction::~SdPageULUndoAction ( )
overridevirtual

Definition at line 80 of file undopage.cxx.

Member Function Documentation

◆ Redo()

void SdPageULUndoAction::Redo ( )
overridevirtual

UL-Redo()

Reimplemented from SfxUndoAction.

Definition at line 93 of file undopage.cxx.

References mnNewLower, mnNewUpper, mpPage, SdPage::SetLowerBorder(), and SdPage::SetUpperBorder().

◆ Undo()

void SdPageULUndoAction::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 84 of file undopage.cxx.

References mnOldLower, mnOldUpper, mpPage, SdPage::SetLowerBorder(), and SdPage::SetUpperBorder().

Member Data Documentation

◆ mnNewLower

sal_Int32 SdPageULUndoAction::mnNewLower
private

Definition at line 142 of file undopage.hxx.

Referenced by Redo().

◆ mnNewUpper

sal_Int32 SdPageULUndoAction::mnNewUpper
private

Definition at line 141 of file undopage.hxx.

Referenced by Redo().

◆ mnOldLower

sal_Int32 SdPageULUndoAction::mnOldLower
private

Definition at line 140 of file undopage.hxx.

Referenced by Undo().

◆ mnOldUpper

sal_Int32 SdPageULUndoAction::mnOldUpper
private

Definition at line 139 of file undopage.hxx.

Referenced by Undo().

◆ mpPage

SdPage* SdPageULUndoAction::mpPage
private

Definition at line 137 of file undopage.hxx.

Referenced by Redo(), and Undo().


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