19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FUNCTIONS_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FUNCTIONS_HXX
22#include <com/sun/star/report/XFunctions.hpp>
23#include <com/sun/star/report/XFunctionsSupplier.hpp>
27#include <com/sun/star/uno/XComponentContext.hpp>
33 typedef ::cppu::WeakComponentImplHelper< css::report::XFunctions>
FunctionsBase;
41 typedef ::std::vector< css::uno::Reference< css::report::XFunction > >
TFunctions;
43 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
44 css::uno::WeakReference< css::report::XFunctionsSupplier >
m_xParent;
59 virtual void SAL_CALL
disposing()
override;
61 explicit OFunctions(
const css::uno::Reference< css::report::XFunctionsSupplier >& _xParent
62 ,css::uno::Reference< css::uno::XComponentContext > context);
66 virtual css::uno::Reference< css::report::XFunction > SAL_CALL
createFunction( )
override;
68 virtual void SAL_CALL
insertByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
71 virtual void SAL_CALL
replaceByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
73 virtual ::sal_Int32 SAL_CALL
getCount( )
override;
74 virtual css::uno::Any SAL_CALL
getByIndex( ::sal_Int32
Index )
override;
79 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
80 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
82 virtual void SAL_CALL
addContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
83 virtual void SAL_CALL
removeContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
86 virtual void SAL_CALL
dispose()
override;
87 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
89 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
91 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
93 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
virtual void SAL_CALL insertByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual css::uno::Any SAL_CALL getByIndex(::sal_Int32 Index) override
virtual void SAL_CALL dispose() override
virtual ::sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > m_aContainerListeners
virtual ~OFunctions() override
void checkIndex(sal_Int32 _nIndex)
virtual void SAL_CALL removeByIndex(::sal_Int32 Index) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
virtual sal_Bool SAL_CALL hasElements() override
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual void SAL_CALL replaceByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
virtual void SAL_CALL disposing() override
this function is called upon disposing the component
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Reference< css::report::XFunction > SAL_CALL createFunction() override
virtual void SAL_CALL removeContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
css::uno::WeakReference< css::report::XFunctionsSupplier > m_xParent
virtual void SAL_CALL addContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
OFunctions(const OFunctions &)=delete
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
OFunctions & operator=(const OFunctions &)=delete
::std::vector< css::uno::Reference< css::report::XFunction > > TFunctions
OFunctions(const css::uno::Reference< css::report::XFunctionsSupplier > &_xParent, css::uno::Reference< css::uno::XComponentContext > context)
::cppu::WeakComponentImplHelper< css::report::XFunctions > FunctionsBase