LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
SvxUnoDrawPagesAccess Class Reference
Inheritance diagram for SvxUnoDrawPagesAccess:
[legend]
Collaboration diagram for SvxUnoDrawPagesAccess:
[legend]

Public Member Functions

 SvxUnoDrawPagesAccess (SvxUnoDrawingModel &rMyModel) noexcept
 
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
 
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
 

Private Attributes

SvxUnoDrawingModelmrModel
 

Detailed Description

Definition at line 69 of file unomod.cxx.

Constructor & Destructor Documentation

◆ SvxUnoDrawPagesAccess()

SvxUnoDrawPagesAccess::SvxUnoDrawPagesAccess ( SvxUnoDrawingModel rMyModel)
explicitnoexcept

Definition at line 519 of file unomod.cxx.

References mrModel.

Member Function Documentation

◆ getByIndex()

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

◆ getCount()

sal_Int32 SAL_CALL SvxUnoDrawPagesAccess::getCount ( )
overridevirtual

Definition at line 525 of file unomod.cxx.

References SdrModel::GetPageCount(), SvxUnoDrawingModel::mpDoc, mrModel, and nCount.

Referenced by hasElements().

◆ getElementType()

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

Definition at line 570 of file unomod.cxx.

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

◆ getImplementationName()

OUString SAL_CALL SvxUnoDrawPagesAccess::getImplementationName ( )
overridevirtual

Definition at line 629 of file unomod.cxx.

◆ getSupportedServiceNames()

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

Definition at line 639 of file unomod.cxx.

◆ hasElements()

sal_Bool SAL_CALL SvxUnoDrawPagesAccess::hasElements ( )
overridevirtual

Definition at line 575 of file unomod.cxx.

References getCount().

◆ insertNewByIndex()

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

Definition at line 584 of file unomod.cxx.

References SdrModel::InsertPage(), SvxUnoDrawingModel::mpDoc, mrModel, and nIndex.

◆ remove()

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

◆ supportsService()

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

Definition at line 634 of file unomod.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ mrModel

SvxUnoDrawingModel& SvxUnoDrawPagesAccess::mrModel
private

Definition at line 72 of file unomod.cxx.

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


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