LibreOffice Module sd (master) 1
|
#include <unmodpg.hxx>
Public Member Functions | |
ModifyPageUndoAction (SdDrawDocument *pTheDoc, SdPage *pThePage, const OUString &aTheNewName, AutoLayout eTheNewAutoLayout, bool bTheNewBckgrndVisible, bool bTheNewBckgrndObjsVisible) | |
virtual | ~ModifyPageUndoAction () 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 |
OUString | maOldName |
OUString | maNewName |
AutoLayout | meOldAutoLayout |
AutoLayout | meNewAutoLayout |
bool | mbOldBckgrndVisible |
bool | mbNewBckgrndVisible |
bool | mbOldBckgrndObjsVisible |
bool | mbNewBckgrndObjsVisible |
Additional Inherited Members | |
![]() | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 32 of file unmodpg.hxx.
ModifyPageUndoAction::ModifyPageUndoAction | ( | SdDrawDocument * | pTheDoc, |
SdPage * | pThePage, | ||
const OUString & | aTheNewName, | ||
AutoLayout | eTheNewAutoLayout, | ||
bool | bTheNewBckgrndVisible, | ||
bool | bTheNewBckgrndObjsVisible | ||
) |
Definition at line 46 of file unmodpg.cxx.
References DBG_ASSERT, Draw, SdPage::GetAutoLayout(), SdDrawDocument::GetDocumentType(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdPage::GetName(), SdrPage::IsMasterPage(), SdrLayerIDSet::IsSet(), maNewName, maOldName, mbNewBckgrndObjsVisible, mbNewBckgrndVisible, mbOldBckgrndObjsVisible, mbOldBckgrndVisible, meNewAutoLayout, meOldAutoLayout, SdUndoAction::mpDoc, mpPage, SdResId(), SdUndoAction::SetComment(), sUNO_LayerName_background, sUNO_LayerName_background_objects, and SdrPage::TRG_GetMasterPageVisibleLayers().
|
overridevirtual |
Definition at line 176 of file unmodpg.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 132 of file unmodpg.cxx.
References SdrMarkView::AreObjectsMarked(), SfxViewFrame::Current(), SfxDispatcher::Execute(), SdrViewIter::ForAllViews(), SfxViewFrame::GetDispatcher(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdPage::GetName(), SdrModel::GetPage(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SdrPage::IsMasterPage(), maNewName, mbNewBckgrndObjsVisible, mbNewBckgrndVisible, SdPage::meAutoLayout, meNewAutoLayout, SdUndoAction::mpDoc, mpPage, SdrLayerIDSet::Set(), SdPage::SetName(), Standard, sUNO_LayerName_background, sUNO_LayerName_background_objects, SdrPage::TRG_SetMasterPageVisibleLayers(), and SdrView::UnmarkAll().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 88 of file unmodpg.cxx.
References SdrMarkView::AreObjectsMarked(), SfxViewFrame::Current(), SfxDispatcher::Execute(), SdrViewIter::ForAllViews(), SfxViewFrame::GetDispatcher(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdPage::GetName(), SdrModel::GetPage(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SdrPage::IsMasterPage(), maOldName, mbOldBckgrndObjsVisible, mbOldBckgrndVisible, meOldAutoLayout, SdUndoAction::mpDoc, mpPage, SdrLayerIDSet::Set(), SdPage::SetAutoLayout(), SdPage::SetName(), Standard, sUNO_LayerName_background, sUNO_LayerName_background_objects, SdrPage::TRG_SetMasterPageVisibleLayers(), and SdrView::UnmarkAll().
|
private |
Definition at line 36 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Redo().
|
private |
Definition at line 35 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Undo().
|
private |
Definition at line 42 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Redo().
|
private |
Definition at line 40 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Redo().
|
private |
Definition at line 41 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Undo().
|
private |
Definition at line 39 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Undo().
|
private |
Definition at line 38 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Redo().
|
private |
Definition at line 37 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), and Undo().
|
private |
Definition at line 34 of file unmodpg.hxx.
Referenced by ModifyPageUndoAction(), Redo(), and Undo().