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

#include <fielduno.hxx>

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

Public Member Functions

 ScHeaderFieldsObj (ScHeaderFooterTextData &rData)
 
virtual ~ScHeaderFieldsObj () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) 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 Member Functions

css::uno::Reference< css::text::XTextField > GetObjectByIndex_Impl (sal_Int32 Index) const
 

Private Attributes

ScHeaderFooterTextDatamrData
 
std::unique_ptr< ScEditSourcempEditSource
 
std::unique_ptr< comphelper::OInterfaceContainerHelper2mpRefreshListeners
 List of refresh listeners. More...
 
osl::Mutex aMutex
 mutex to lock the InterfaceContainerHelper More...
 

Detailed Description

Definition at line 109 of file fielduno.hxx.

Constructor & Destructor Documentation

ScHeaderFieldsObj::ScHeaderFieldsObj ( ScHeaderFooterTextData rData)

Definition at line 424 of file fielduno.cxx.

References mpEditSource, and mrData.

ScHeaderFieldsObj::~ScHeaderFieldsObj ( )
overridevirtual

Definition at line 430 of file fielduno.cxx.

References aEvent, m_refCount, mpEditSource, and mpRefreshListeners.

Member Function Documentation

void SAL_CALL ScHeaderFieldsObj::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 530 of file fielduno.cxx.

void SAL_CALL ScHeaderFieldsObj::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 554 of file fielduno.cxx.

References aMutex, and mpRefreshListeners.

uno::Reference< container::XEnumeration > SAL_CALL ScHeaderFieldsObj::createEnumeration ( )
overridevirtual

Definition at line 524 of file fielduno.cxx.

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

Definition at line 502 of file fielduno.cxx.

References GetObjectByIndex_Impl().

sal_Int32 SAL_CALL ScHeaderFieldsObj::getCount ( )
overridevirtual

Field functions have to be passed to the forwarder !!!

Definition at line 492 of file fielduno.cxx.

References mpEditSource.

Referenced by hasElements().

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

Definition at line 512 of file fielduno.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScHeaderFieldsObj::getImplementationName ( )
overridevirtual
uno::Reference< text::XTextField > ScHeaderFieldsObj::GetObjectByIndex_Impl ( sal_Int32  Index) const
private
virtual css::uno::Sequence< OUString > SAL_CALL ScHeaderFieldsObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScHeaderFieldsObj::hasElements ( )
overridevirtual

Definition at line 518 of file fielduno.cxx.

References getCount().

void SAL_CALL ScHeaderFieldsObj::refresh ( )
overridevirtual

Definition at line 543 of file fielduno.cxx.

References aEvent, and mpRefreshListeners.

void SAL_CALL ScHeaderFieldsObj::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 536 of file fielduno.cxx.

void SAL_CALL ScHeaderFieldsObj::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 565 of file fielduno.cxx.

References mpRefreshListeners.

virtual sal_Bool SAL_CALL ScHeaderFieldsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

osl::Mutex ScHeaderFieldsObj::aMutex
private

mutex to lock the InterfaceContainerHelper

Definition at line 123 of file fielduno.hxx.

Referenced by addRefreshListener().

std::unique_ptr<ScEditSource> ScHeaderFieldsObj::mpEditSource
private
std::unique_ptr<comphelper::OInterfaceContainerHelper2> ScHeaderFieldsObj::mpRefreshListeners
private

List of refresh listeners.

Definition at line 121 of file fielduno.hxx.

Referenced by addRefreshListener(), refresh(), removeRefreshListener(), and ~ScHeaderFieldsObj().

ScHeaderFooterTextData& ScHeaderFieldsObj::mrData
private

Definition at line 117 of file fielduno.hxx.

Referenced by GetObjectByIndex_Impl().


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