19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FUNCTION_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FUNCTION_HXX
24#include <com/sun/star/report/XFunction.hpp>
25#include <com/sun/star/report/XFunctions.hpp>
28#include <com/sun/star/lang/XServiceInfo.hpp>
33 typedef ::cppu::WeakComponentImplHelper< css::report::XFunction
45 css::uno::WeakReference< css::report::XFunctions >
m_xParent;
54 template <
typename T>
void set(
const OUString& _sProperty
61 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
66 void set(
const OUString& _sProperty
73 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
81 explicit OFunction(css::uno::Reference< css::uno::XComponentContext >
const & _xContext);
97 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const css::
uno::
Any& aValue ) override;
109 virtual OUString SAL_CALL
getName() override;
110 virtual
void SAL_CALL
setName(const OUString & the_value) override;
111 virtual OUString SAL_CALL
getFormula() override;
112 virtual
void SAL_CALL
setFormula(const OUString & the_value) override;
114 virtual
void SAL_CALL
setInitialFormula(const css::beans::Optional< OUString> & the_value) override;
117 virtual
void SAL_CALL
dispose() override;
120 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
122 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
124 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
128 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
129 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
mutable::osl::Mutex m_aMutex
void prepareSet(rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
static css::uno::Reference< css::uno::XInterface > create(css::uno::Reference< css::uno::XComponentContext > const &xContext)
virtual ~OFunction() override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
OFunction & operator=(const OFunction &)=delete
virtual void SAL_CALL dispose() override
virtual void SAL_CALL setDeepTraversing(sal_Bool the_value) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
void set(const OUString &_sProperty, bool Value, bool &_member)
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setName(const OUString &the_value) override
void set(const OUString &_sProperty, const T &Value, T &_member)
virtual void SAL_CALL setFormula(const OUString &the_value) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual OUString SAL_CALL getFormula() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
static css::uno::Sequence< OUString > getSupportedServiceNames_Static()
static OUString getImplementationName_Static()
virtual sal_Bool SAL_CALL getPreEvaluated() override
virtual void SAL_CALL setInitialFormula(const css::beans::Optional< OUString > &the_value) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
css::uno::WeakReference< css::report::XFunctions > m_xParent
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
css::beans::Optional< OUString > m_sInitialFormula
virtual css::beans::Optional< OUString > SAL_CALL getInitialFormula() override
virtual sal_Bool SAL_CALL getDeepTraversing() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
OFunction(const OFunction &)=delete
virtual OUString SAL_CALL getName() override
OFunction(css::uno::Reference< css::uno::XComponentContext > const &_xContext)
virtual void SAL_CALL setPreEvaluated(sal_Bool the_value) override
::cppu::WeakComponentImplHelper< css::report::XFunction,css::lang::XServiceInfo > FunctionBase
::cppu::PropertySetMixin< css::report::XFunction > FunctionPropertySet
#define DECLARE_XINTERFACE()