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

#include <unocpres.hxx>

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

Public Member Functions

 SdXCustomPresentation () noexcept
 
 SdXCustomPresentation (SdCustomShow *mpSdCustomShow) noexcept
 
virtual ~SdXCustomPresentation () noexcept override
 
SdCustomShowGetSdCustomShow () const noexcept
 
void SetSdCustomShow (SdCustomShow *pShow) noexcept
 
SdXImpressDocumentGetModel () const noexcept
 
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 insertByIndex (sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (sal_Int32 Index) override
 
virtual void SAL_CALL replaceByIndex (sal_Int32 Index, const css::uno::Any &Element) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) 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

SdCustomShowmpSdCustomShow
 
SdXImpressDocumentmpModel
 
std::mutex aDisposeContainerMutex
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > aDisposeListeners
 
bool bDisposing
 

Detailed Description

Definition at line 39 of file unocpres.hxx.

Constructor & Destructor Documentation

◆ SdXCustomPresentation() [1/2]

SdXCustomPresentation::SdXCustomPresentation ( )
noexcept

Definition at line 44 of file unocpres.cxx.

◆ SdXCustomPresentation() [2/2]

SdXCustomPresentation::SdXCustomPresentation ( SdCustomShow mpSdCustomShow)
explicitnoexcept

Definition at line 50 of file unocpres.cxx.

◆ ~SdXCustomPresentation()

SdXCustomPresentation::~SdXCustomPresentation ( )
overridevirtualnoexcept

Definition at line 56 of file unocpres.cxx.

Member Function Documentation

◆ addEventListener()

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

◆ dispose()

void SAL_CALL SdXCustomPresentation::dispose ( void  )
overridevirtual

◆ getByIndex()

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

◆ getCount()

sal_Int32 SAL_CALL SdXCustomPresentation::getCount ( )
overridevirtual

Definition at line 166 of file unocpres.cxx.

References bDisposing, mpSdCustomShow, and SdCustomShow::PagesVector().

Referenced by hasElements().

◆ getElementType()

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

Definition at line 150 of file unocpres.cxx.

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

◆ getImplementationName()

OUString SAL_CALL SdXCustomPresentation::getImplementationName ( )
overridevirtual

Definition at line 61 of file unocpres.cxx.

◆ GetModel()

SdXImpressDocument * SdXCustomPresentation::GetModel ( ) const
inlinenoexcept

Definition at line 61 of file unocpres.hxx.

References mpModel.

Referenced by SdXCustomPresentationAccess::insertByName().

◆ getName()

OUString SAL_CALL SdXCustomPresentation::getName ( )
overridevirtual

Definition at line 198 of file unocpres.cxx.

References bDisposing, SdCustomShow::GetName(), and mpSdCustomShow.

◆ GetSdCustomShow()

SdCustomShow * SdXCustomPresentation::GetSdCustomShow ( ) const
inlinenoexcept

Definition at line 59 of file unocpres.hxx.

References mpSdCustomShow.

Referenced by SdXCustomPresentationAccess::insertByName().

◆ getSupportedServiceNames()

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

Definition at line 71 of file unocpres.cxx.

◆ hasElements()

sal_Bool SAL_CALL SdXCustomPresentation::hasElements ( )
overridevirtual

Definition at line 155 of file unocpres.cxx.

References bDisposing, and getCount().

◆ insertByIndex()

void SAL_CALL SdXCustomPresentation::insertByIndex ( sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

◆ removeByIndex()

void SAL_CALL SdXCustomPresentation::removeByIndex ( sal_Int32  Index)
overridevirtual

◆ removeEventListener()

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

◆ replaceByIndex()

void SAL_CALL SdXCustomPresentation::replaceByIndex ( sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 143 of file unocpres.cxx.

References insertByIndex(), and removeByIndex().

◆ setName()

void SAL_CALL SdXCustomPresentation::setName ( const OUString &  aName)
overridevirtual

Definition at line 211 of file unocpres.cxx.

References aName, bDisposing, mpSdCustomShow, and SdCustomShow::SetName().

◆ SetSdCustomShow()

void SdXCustomPresentation::SetSdCustomShow ( SdCustomShow pShow)
inlinenoexcept

Definition at line 60 of file unocpres.hxx.

References mpSdCustomShow.

Referenced by SdXCustomPresentationAccess::insertByName().

◆ supportsService()

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

Definition at line 66 of file unocpres.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ aDisposeContainerMutex

std::mutex SdXCustomPresentation::aDisposeContainerMutex
private

Definition at line 49 of file unocpres.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

◆ aDisposeListeners

::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SdXCustomPresentation::aDisposeListeners
private

Definition at line 50 of file unocpres.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

◆ bDisposing

bool SdXCustomPresentation::bDisposing
private

◆ mpModel

SdXImpressDocument* SdXCustomPresentation::mpModel
private

Definition at line 46 of file unocpres.hxx.

Referenced by GetModel(), insertByIndex(), and removeByIndex().

◆ mpSdCustomShow

SdCustomShow* SdXCustomPresentation::mpSdCustomShow
private

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