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

#include <unomodel.hxx>

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

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

SdXImpressDocumentmpModel
 

Detailed Description

Definition at line 306 of file unomodel.hxx.

Constructor & Destructor Documentation

◆ SdDrawPagesAccess()

SdDrawPagesAccess::SdDrawPagesAccess ( SdXImpressDocument rMyModel)
noexcept

Definition at line 2923 of file unomodel.cxx.

◆ ~SdDrawPagesAccess()

SdDrawPagesAccess::~SdDrawPagesAccess ( )
overridevirtualnoexcept

Definition at line 2928 of file unomodel.cxx.

Member Function Documentation

◆ addEventListener()

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

Definition at line 3152 of file unomodel.cxx.

◆ dispose()

void SAL_CALL SdDrawPagesAccess::dispose ( void  )
overridevirtual

Definition at line 3147 of file unomodel.cxx.

References mpModel.

◆ getByIndex()

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

◆ getByName()

uno::Any SAL_CALL SdDrawPagesAccess::getByName ( const OUString &  aName)
overridevirtual

◆ getCount()

sal_Int32 SAL_CALL SdDrawPagesAccess::getCount ( )
overridevirtual

Definition at line 2933 of file unomodel.cxx.

References SdDrawDocument::GetSdPageCount(), SdXImpressDocument::mpDoc, mpModel, and Standard.

Referenced by hasElements().

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL SdDrawPagesAccess::getElementNames ( )
overridevirtual

◆ getElementType()

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

Definition at line 3040 of file unomodel.cxx.

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

◆ getImplementationName()

OUString SAL_CALL SdDrawPagesAccess::getImplementationName ( )
overridevirtual

Definition at line 3131 of file unomodel.cxx.

◆ getSupportedServiceNames()

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

Definition at line 3141 of file unomodel.cxx.

◆ hasByName()

sal_Bool SAL_CALL SdDrawPagesAccess::hasByName ( const OUString &  aName)
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL SdDrawPagesAccess::hasElements ( )
overridevirtual

Definition at line 3045 of file unomodel.cxx.

References getCount().

◆ insertNewByIndex()

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

Creates a new page with model at the specified position.

Returns
corresponding SdDrawPage

Definition at line 3056 of file unomodel.cxx.

References SdrPage::getUnoPage(), SdXImpressDocument::InsertSdPage(), SdXImpressDocument::mpDoc, mpModel, and nIndex.

◆ remove()

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

◆ removeEventListener()

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

Definition at line 3157 of file unomodel.cxx.

◆ supportsService()

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

Definition at line 3136 of file unomodel.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ mpModel

SdXImpressDocument* SdDrawPagesAccess::mpModel
private

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