#include <undopage.hxx>
|
| 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 |
|
| SdUndoAction (SdDrawDocument *pSdDrawDocument) |
|
void | SetComment (const OUString &rStr) |
|
virtual OUString | GetComment () const override |
|
virtual SdUndoAction * | Clone () const |
|
ViewShellId | GetViewShellId () const override |
| See SfxUndoAction::GetViewShellId(). More...
|
|
| 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 DateTime & | GetDateTime () const |
|
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
|
Definition at line 32 of file undopage.hxx.
◆ 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 |
◆ ~SdPageFormatUndoAction()
SdPageFormatUndoAction::~SdPageFormatUndoAction |
( |
| ) |
|
|
overridevirtual |
◆ Redo()
void SdPageFormatUndoAction::Redo |
( |
| ) |
|
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 46 of file undopage.cxx.
References SdrPage::IsMasterPage(), maNewSize, mbNewFullSize, mbNewScale, meNewOrientation, mnNewLeft, mnNewLower, mnNewPaperBin, mnNewRight, mnNewUpper, mpPage, SdPage::ScaleObjects(), SdrPage::SetBackgroundFullSize(), SdPage::SetLeftBorder(), SdPage::SetLowerBorder(), SdPage::SetOrientation(), SdPage::SetPaperBin(), SdPage::SetRightBorder(), SdPage::SetSize(), SdPage::SetUpperBorder(), and SdrPage::TRG_GetMasterPage().
◆ Undo()
void SdPageFormatUndoAction::Undo |
( |
| ) |
|
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 28 of file undopage.cxx.
References SdrPage::IsMasterPage(), maOldSize, mbNewScale, mbOldFullSize, meOldOrientation, mnOldLeft, mnOldLower, mnOldPaperBin, mnOldRight, mnOldUpper, mpPage, SdPage::ScaleObjects(), SdrPage::SetBackgroundFullSize(), SdPage::SetLeftBorder(), SdPage::SetLowerBorder(), SdPage::SetOrientation(), SdPage::SetPaperBin(), SdPage::SetRightBorder(), SdPage::SetSize(), SdPage::SetUpperBorder(), and SdrPage::TRG_GetMasterPage().
◆ maNewSize
Size SdPageFormatUndoAction::maNewSize |
|
private |
◆ maOldSize
Size SdPageFormatUndoAction::maOldSize |
|
private |
◆ mbNewFullSize
bool SdPageFormatUndoAction::mbNewFullSize |
|
private |
◆ mbNewScale
bool SdPageFormatUndoAction::mbNewScale |
|
private |
◆ mbOldFullSize
bool SdPageFormatUndoAction::mbOldFullSize |
|
private |
◆ meNewOrientation
◆ meOldOrientation
◆ mnNewLeft
sal_Int32 SdPageFormatUndoAction::mnNewLeft |
|
private |
◆ mnNewLower
sal_Int32 SdPageFormatUndoAction::mnNewLower |
|
private |
◆ mnNewPaperBin
sal_uInt16 SdPageFormatUndoAction::mnNewPaperBin |
|
private |
◆ mnNewRight
sal_Int32 SdPageFormatUndoAction::mnNewRight |
|
private |
◆ mnNewUpper
sal_Int32 SdPageFormatUndoAction::mnNewUpper |
|
private |
◆ mnOldLeft
sal_Int32 SdPageFormatUndoAction::mnOldLeft |
|
private |
◆ mnOldLower
sal_Int32 SdPageFormatUndoAction::mnOldLower |
|
private |
◆ mnOldPaperBin
sal_uInt16 SdPageFormatUndoAction::mnOldPaperBin |
|
private |
◆ mnOldRight
sal_Int32 SdPageFormatUndoAction::mnOldRight |
|
private |
◆ mnOldUpper
sal_Int32 SdPageFormatUndoAction::mnOldUpper |
|
private |
◆ mpPage
SdPage* SdPageFormatUndoAction::mpPage |
|
private |
The documentation for this class was generated from the following files: