LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
SdMasterPagesAccess Class Referencefinal

#include <unomodel.hxx>

Inheritance diagram for SdMasterPagesAccess:
[legend]
Collaboration diagram for SdMasterPagesAccess:
[legend]

Public Member Functions

 SdMasterPagesAccess (SdXImpressDocument &rMyModel) noexcept
 
virtual ~SdMasterPagesAccess () noexcept override
 
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex (sal_Int32 nIndex) override
 
virtual void SAL_CALL remove (const css::uno::Reference< css::drawing::XDrawPage > &xPage) override
 Removes the specified SdMasterPage from the model and the internal list. More...
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 Provides a drawing::XDrawPage interface for accessing the Masterpage at the specified position in the model. More...
 
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

SdXImpressDocumentmpModel
 

Detailed Description

Definition at line 347 of file unomodel.hxx.

Constructor & Destructor Documentation

◆ SdMasterPagesAccess()

SdMasterPagesAccess::SdMasterPagesAccess ( SdXImpressDocument rMyModel)
noexcept

Definition at line 3163 of file unomodel.cxx.

◆ ~SdMasterPagesAccess()

SdMasterPagesAccess::~SdMasterPagesAccess ( )
overridevirtualnoexcept

Definition at line 3168 of file unomodel.cxx.

Member Function Documentation

◆ addEventListener()

void SAL_CALL SdMasterPagesAccess::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 3178 of file unomodel.cxx.

◆ dispose()

void SAL_CALL SdMasterPagesAccess::dispose ( void  )
overridevirtual

Definition at line 3173 of file unomodel.cxx.

References mpModel.

◆ getByIndex()

uno::Any SAL_CALL SdMasterPagesAccess::getByIndex ( sal_Int32  Index)
overridevirtual

Provides a drawing::XDrawPage interface for accessing the Masterpage at the specified position in the model.

Definition at line 3203 of file unomodel.cxx.

References SdDrawDocument::GetMasterSdPage(), SdDrawDocument::GetMasterSdPageCount(), SdrPage::getUnoPage(), SdXImpressDocument::mpDoc, mpModel, and Standard.

◆ getCount()

sal_Int32 SAL_CALL SdMasterPagesAccess::getCount ( )
overridevirtual

◆ getElementType()

uno::Type SAL_CALL SdMasterPagesAccess::getElementType ( )
overridevirtual

Definition at line 3227 of file unomodel.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

OUString SAL_CALL SdMasterPagesAccess::getImplementationName ( )
overridevirtual

Definition at line 3378 of file unomodel.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SdMasterPagesAccess::getSupportedServiceNames ( )
overridevirtual

Definition at line 3388 of file unomodel.cxx.

◆ hasElements()

sal_Bool SAL_CALL SdMasterPagesAccess::hasElements ( )
overridevirtual

Definition at line 3232 of file unomodel.cxx.

References getCount().

◆ insertNewByIndex()

uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIndex ( sal_Int32  nIndex)
overridevirtual

◆ remove()

void SAL_CALL SdMasterPagesAccess::remove ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage)
overridevirtual

◆ removeEventListener()

void SAL_CALL SdMasterPagesAccess::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 3183 of file unomodel.cxx.

◆ supportsService()

sal_Bool SAL_CALL SdMasterPagesAccess::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 3383 of file unomodel.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ mpModel

SdXImpressDocument* SdMasterPagesAccess::mpModel
private

Definition at line 350 of file unomodel.hxx.

Referenced by dispose(), getByIndex(), getCount(), insertNewByIndex(), and remove().


The documentation for this class was generated from the following files: