LibreOffice Module sd (master) 1
|
#include <undoheaderfooter.hxx>
Public Member Functions | |
SdHeaderFooterUndoAction (SdDrawDocument *pDoc, SdPage *pPage, sd::HeaderFooterSettings aNewSettings) | |
virtual | ~SdHeaderFooterUndoAction () 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 |
Private Attributes | |
SdPage * | mpPage |
const sd::HeaderFooterSettings | maOldSettings |
const sd::HeaderFooterSettings | maNewSettings |
Additional Inherited Members | |
![]() | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 30 of file undoheaderfooter.hxx.
SdHeaderFooterUndoAction::SdHeaderFooterUndoAction | ( | SdDrawDocument * | pDoc, |
SdPage * | pPage, | ||
sd::HeaderFooterSettings | aNewSettings | ||
) |
Definition at line 28 of file undoheaderfooter.cxx.
References mpPage.
|
overridevirtual |
Definition at line 36 of file undoheaderfooter.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 47 of file undoheaderfooter.cxx.
References SfxViewFrame::Current(), maNewSettings, mpPage, and SdPage::setHeaderFooterSettings().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 40 of file undoheaderfooter.cxx.
References SfxViewFrame::Current(), maOldSettings, mpPage, and SdPage::setHeaderFooterSettings().
|
private |
Definition at line 35 of file undoheaderfooter.hxx.
Referenced by Redo().
|
private |
Definition at line 34 of file undoheaderfooter.hxx.
Referenced by Undo().
|
private |
Definition at line 32 of file undoheaderfooter.hxx.