LibreOffice Module sd (master) 1
|
#include <unomodel.hxx>
Public Member Functions | |
SdDrawPagesAccess (SdXImpressDocument &rMyModel) noexcept | |
virtual | ~SdDrawPagesAccess () noexcept override |
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL | insertNewByIndex (sal_Int32 nIndex) override |
Creates a new page with model at the specified position. More... | |
virtual void SAL_CALL | remove (const css::uno::Reference< css::drawing::XDrawPage > &xPage) override |
Removes the specified SdDrawPage from the model and the internal list. More... | |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
Private Attributes | |
SdXImpressDocument * | mpModel |
Definition at line 306 of file unomodel.hxx.
|
noexcept |
Definition at line 2923 of file unomodel.cxx.
|
overridevirtualnoexcept |
Definition at line 2928 of file unomodel.cxx.
|
overridevirtual |
Definition at line 3152 of file unomodel.cxx.
|
overridevirtual |
Definition at line 3147 of file unomodel.cxx.
References mpModel.
|
overridevirtual |
Definition at line 2943 of file unomodel.cxx.
References SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdrPage::getUnoPage(), SdXImpressDocument::mpDoc, mpModel, and Standard.
|
overridevirtual |
Definition at line 2966 of file unomodel.cxx.
References aName, SdDrawPage::getPageApiName(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdrPage::getUnoPage(), SdXImpressDocument::mpDoc, mpModel, nCount, and Standard.
|
overridevirtual |
Definition at line 2933 of file unomodel.cxx.
References SdDrawDocument::GetSdPageCount(), SdXImpressDocument::mpDoc, mpModel, and Standard.
Referenced by hasElements().
|
overridevirtual |
Definition at line 2996 of file unomodel.cxx.
References SdDrawPage::getPageApiName(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdXImpressDocument::mpDoc, mpModel, nCount, and Standard.
|
overridevirtual |
Definition at line 3040 of file unomodel.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 3131 of file unomodel.cxx.
|
overridevirtual |
Definition at line 3141 of file unomodel.cxx.
|
overridevirtual |
Definition at line 3017 of file unomodel.cxx.
References aName, SdDrawPage::getPageApiName(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdXImpressDocument::mpDoc, mpModel, nCount, and Standard.
|
overridevirtual |
Definition at line 3045 of file unomodel.cxx.
References getCount().
|
overridevirtual |
Creates a new page with model at the specified position.
Definition at line 3056 of file unomodel.cxx.
References SdrPage::getUnoPage(), SdXImpressDocument::InsertSdPage(), SdXImpressDocument::mpDoc, mpModel, and nIndex.
|
overridevirtual |
Removes the specified SdDrawPage from the model and the internal list.
It only works, if there is at least one normal page in the model after removing this page.
Definition at line 3082 of file unomodel.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), SdrUndoFactory::CreateUndoDeletePage(), SdrModel::EndUndo(), SdrModel::GetPage(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SdDrawDocument::GetSdPageCount(), SvxDrawPage::GetSdrPage(), SdrModel::GetSdrUndoFactory(), SdrModel::IsUndoEnabled(), SdXImpressDocument::mpDoc, mpModel, SdDrawDocument::RemovePage(), SdResId(), SdXImpressDocument::SetModified(), and Standard.
|
overridevirtual |
Definition at line 3157 of file unomodel.cxx.
|
overridevirtual |
Definition at line 3136 of file unomodel.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 309 of file unomodel.hxx.
Referenced by dispose(), getByIndex(), getByName(), getCount(), getElementNames(), hasByName(), insertNewByIndex(), and remove().