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

#include <undopage.hxx>

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

Public Member Functions

 SdPageFormatUndoAction (SdDrawDocument *pDoc, SdPage *pThePage, const Size &rOldSz, sal_Int32 nOldLft, sal_Int32 nOldRgt, sal_Int32 nOldUpr, sal_Int32 nOldLwr, Orientation eOldOrient, sal_uInt16 nOPaperBin, bool bOFullSize, const Size &rNewSz, sal_Int32 nNewLft, sal_Int32 nNewRgt, sal_Int32 nNewUpr, sal_Int32 nNewLwr, bool bNewScl, Orientation eNewOrient, sal_uInt16 nNPaperBin, bool bNFullSize)
 
virtual ~SdPageFormatUndoAction () 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 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
 
Size maOldSize
 
sal_Int32 mnOldLeft
 
sal_Int32 mnOldRight
 
sal_Int32 mnOldUpper
 
sal_Int32 mnOldLower
 
Orientation meOldOrientation
 
sal_uInt16 mnOldPaperBin
 
bool mbOldFullSize
 
Size maNewSize
 
sal_Int32 mnNewLeft
 
sal_Int32 mnNewRight
 
sal_Int32 mnNewUpper
 
sal_Int32 mnNewLower
 
bool mbNewScale
 
Orientation meNewOrientation
 
sal_uInt16 mnNewPaperBin
 
bool mbNewFullSize
 

Additional Inherited Members

- Protected Attributes inherited from SdUndoAction
SdDrawDocumentmpDoc
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 32 of file undopage.hxx.

Constructor & Destructor Documentation

◆ SdPageFormatUndoAction()

SdPageFormatUndoAction::SdPageFormatUndoAction ( SdDrawDocument pDoc,
SdPage pThePage,
const Size rOldSz,
sal_Int32  nOldLft,
sal_Int32  nOldRgt,
sal_Int32  nOldUpr,
sal_Int32  nOldLwr,
Orientation  eOldOrient,
sal_uInt16  nOPaperBin,
bool  bOFullSize,
const Size rNewSz,
sal_Int32  nNewLft,
sal_Int32  nNewRgt,
sal_Int32  nNewUpr,
sal_Int32  nNewLwr,
bool  bNewScl,
Orientation  eNewOrient,
sal_uInt16  nNPaperBin,
bool  bNFullSize 
)
inline

Definition at line 56 of file undopage.hxx.

◆ ~SdPageFormatUndoAction()

SdPageFormatUndoAction::~SdPageFormatUndoAction ( )
overridevirtual

Definition at line 24 of file undopage.cxx.

Member Function Documentation

◆ Redo()

void SdPageFormatUndoAction::Redo ( )
overridevirtual

◆ Undo()

void SdPageFormatUndoAction::Undo ( )
overridevirtual

Member Data Documentation

◆ maNewSize

Size SdPageFormatUndoAction::maNewSize
private

Definition at line 45 of file undopage.hxx.

Referenced by Redo().

◆ maOldSize

Size SdPageFormatUndoAction::maOldSize
private

Definition at line 36 of file undopage.hxx.

Referenced by Undo().

◆ mbNewFullSize

bool SdPageFormatUndoAction::mbNewFullSize
private

Definition at line 53 of file undopage.hxx.

Referenced by Redo().

◆ mbNewScale

bool SdPageFormatUndoAction::mbNewScale
private

Definition at line 50 of file undopage.hxx.

Referenced by Redo(), and Undo().

◆ mbOldFullSize

bool SdPageFormatUndoAction::mbOldFullSize
private

Definition at line 43 of file undopage.hxx.

Referenced by Undo().

◆ meNewOrientation

Orientation SdPageFormatUndoAction::meNewOrientation
private

Definition at line 51 of file undopage.hxx.

Referenced by Redo().

◆ meOldOrientation

Orientation SdPageFormatUndoAction::meOldOrientation
private

Definition at line 41 of file undopage.hxx.

Referenced by Undo().

◆ mnNewLeft

sal_Int32 SdPageFormatUndoAction::mnNewLeft
private

Definition at line 46 of file undopage.hxx.

Referenced by Redo().

◆ mnNewLower

sal_Int32 SdPageFormatUndoAction::mnNewLower
private

Definition at line 49 of file undopage.hxx.

Referenced by Redo().

◆ mnNewPaperBin

sal_uInt16 SdPageFormatUndoAction::mnNewPaperBin
private

Definition at line 52 of file undopage.hxx.

Referenced by Redo().

◆ mnNewRight

sal_Int32 SdPageFormatUndoAction::mnNewRight
private

Definition at line 47 of file undopage.hxx.

Referenced by Redo().

◆ mnNewUpper

sal_Int32 SdPageFormatUndoAction::mnNewUpper
private

Definition at line 48 of file undopage.hxx.

Referenced by Redo().

◆ mnOldLeft

sal_Int32 SdPageFormatUndoAction::mnOldLeft
private

Definition at line 37 of file undopage.hxx.

Referenced by Undo().

◆ mnOldLower

sal_Int32 SdPageFormatUndoAction::mnOldLower
private

Definition at line 40 of file undopage.hxx.

Referenced by Undo().

◆ mnOldPaperBin

sal_uInt16 SdPageFormatUndoAction::mnOldPaperBin
private

Definition at line 42 of file undopage.hxx.

Referenced by Undo().

◆ mnOldRight

sal_Int32 SdPageFormatUndoAction::mnOldRight
private

Definition at line 38 of file undopage.hxx.

Referenced by Undo().

◆ mnOldUpper

sal_Int32 SdPageFormatUndoAction::mnOldUpper
private

Definition at line 39 of file undopage.hxx.

Referenced by Undo().

◆ mpPage

SdPage* SdPageFormatUndoAction::mpPage
private

Definition at line 34 of file undopage.hxx.

Referenced by Redo(), and Undo().


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