|
LibreOffice Module svx (master) 1
|
Deleting a Page. More...
#include <svdundo.hxx>
Public Member Functions | |
| SdrUndoDelPage (SdrPage &rNewPg) | |
| virtual | ~SdrUndoDelPage () override |
| virtual void | Undo () override |
| virtual void | Redo () override |
| virtual OUString | GetComment () const override |
| virtual OUString | GetSdrRepeatComment () const override |
| virtual void | SdrRepeat (SdrView &rView) override |
| virtual bool | CanSdrRepeat (SdrView &rView) const override |
Public Member Functions inherited from SdrUndoAction | |
| virtual | ~SdrUndoAction () override |
| virtual bool | CanRepeat (SfxRepeatTarget &rView) const override |
| virtual void | Repeat (SfxRepeatTarget &rView) override |
| virtual OUString | GetRepeatComment (SfxRepeatTarget &rView) const override |
| virtual OUString | GetSdrRepeatComment () const |
| virtual bool | CanSdrRepeat (SdrView &rView) const |
| virtual void | SdrRepeat (SdrView &rView) |
| 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 DateTime & | GetDateTime () const |
| virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Member Functions | |
| void | queryFillBitmap (const SfxItemSet &rItemSet) |
| void | clearFillBitmap () |
| void | restoreFillBitmap () |
Private Attributes | |
| std::unique_ptr< SdrUndoGroup > | pUndoGroup |
| std::unique_ptr< SfxPoolItem > | mpFillBitmapItem |
| bool | mbHasFillBitmap |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoPageList | |
| SdrUndoPageList (SdrPage &rNewPg) | |
| virtual | ~SdrUndoPageList () override |
Protected Member Functions inherited from SdrUndoPage | |
| void | ImpInsertPage (sal_uInt16 nNum) |
| void | ImpRemovePage (sal_uInt16 nNum) |
| void | ImpMovePage (sal_uInt16 nOldNum, sal_uInt16 nNewNum) |
| SdrUndoPage (SdrPage &rNewPg) | |
| ~SdrUndoPage () | |
Protected Member Functions inherited from SdrUndoAction | |
| SdrUndoAction (SdrModel &rNewMod) | |
Static Protected Member Functions inherited from SdrUndoPage | |
| static OUString | ImpGetDescriptionStr (TranslateId pStrCacheID) |
Protected Attributes inherited from SdrUndoPageList | |
| sal_uInt16 | nPageNum |
Protected Attributes inherited from SdrUndoPage | |
| rtl::Reference< SdrPage > | mxPage |
Protected Attributes inherited from SdrUndoAction | |
| SdrModel & | rMod |
| ViewShellId | m_nViewShellId |
Deleting a Page.
Create Action before removing from the List.
Definition at line 593 of file svdundo.hxx.
| SdrUndoDelPage::SdrUndoDelPage | ( | SdrPage & | rNewPg | ) |
Definition at line 1381 of file svdundo.cxx.
References clearFillBitmap(), SdrUndoFactory::CreateUndoPageRemoveMasterPage(), SfxStyleSheetBase::GetItemSet(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrModel::GetSdrUndoFactory(), mpFillBitmapItem, SdrUndoPage::mxPage, pUndoGroup, queryFillBitmap(), SdrUndoAction::rMod, SdrPage::TRG_GetMasterPage(), and SdrPage::TRG_HasMasterPage().
|
overridevirtual |
Definition at line 1426 of file svdundo.cxx.
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 1463 of file svdundo.cxx.
|
private |
Definition at line 1476 of file svdundo.cxx.
References SdrPageProperties::ClearItem(), SfxItemSet::ClearItem(), SfxStyleSheetBase::GetItemSet(), SfxBroadcaster::GetListenerCount(), mbHasFillBitmap, SdrUndoPage::mxPage, XATTR_FILLBITMAP(), and XATTR_FILLSTYLE().
Referenced by Redo(), and SdrUndoDelPage().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1449 of file svdundo.cxx.
References SdrUndoPage::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 1454 of file svdundo.cxx.
References SdrUndoPage::ImpGetDescriptionStr().
|
private |
Definition at line 1468 of file svdundo.cxx.
References SfxItemSet::GetItemIfSet(), mbHasFillBitmap, mpFillBitmapItem, XATTR_FILLBITMAP(), and XATTR_FILLSTYLE().
Referenced by SdrUndoDelPage().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1442 of file svdundo.cxx.
References clearFillBitmap(), SdrUndoPage::ImpRemovePage(), mpFillBitmapItem, and SdrUndoPageList::nPageNum.
|
private |
Definition at line 1499 of file svdundo.cxx.
References SfxStyleSheetBase::GetItemSet(), SfxBroadcaster::GetListenerCount(), mbHasFillBitmap, mpFillBitmapItem, SdrUndoPage::mxPage, SfxItemSet::Put(), and SdrPageProperties::PutItem().
Referenced by Undo().
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 1459 of file svdundo.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1430 of file svdundo.cxx.
References SdrUndoPage::ImpInsertPage(), mpFillBitmapItem, SdrUndoPageList::nPageNum, pUndoGroup, and restoreFillBitmap().
|
private |
Definition at line 599 of file svdundo.hxx.
Referenced by clearFillBitmap(), queryFillBitmap(), and restoreFillBitmap().
|
private |
Definition at line 598 of file svdundo.hxx.
Referenced by queryFillBitmap(), Redo(), restoreFillBitmap(), SdrUndoDelPage(), and Undo().
|
private |
Definition at line 597 of file svdundo.hxx.
Referenced by SdrUndoDelPage(), and Undo().