19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FORMATCONDITION_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FORMATCONDITION_HXX
23#include <com/sun/star/report/XFormatCondition.hpp>
28#include <com/sun/star/lang/XServiceInfo.hpp>
34 typedef ::cppu::WeakComponentImplHelper< css::report::XFormatCondition
53 void set(
const OUString& _sProperty
55 ,css::style::ParagraphAdjust& _member)
60 if (
static_cast<sal_Int16
>(_member) !=
Value )
62 prepareSet(_sProperty, css::uno::Any(
static_cast<sal_Int16
>(_member)), css::uno::Any(
Value), &l);
63 _member =
static_cast<css::style::ParagraphAdjust
>(
Value);
68 template <
typename T>
void set(
const OUString& _sProperty
75 if ( _member !=
Value )
77 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
83 void set(
const OUString& _sProperty
90 if ( _member !=
Value )
92 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
100 explicit OFormatCondition(css::uno::Reference< css::uno::XComponentContext >
const & _xContext
117 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const css::
uno::
Any& aValue ) override;
127 virtual OUString SAL_CALL
getFormula() override;
128 virtual
void SAL_CALL
setFormula( const OUString& _formula ) override;
133 virtual
void SAL_CALL
dispose() override;
136 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
138 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
140 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
#define REPORTCONTROLFORMAT_HEADER()
mutable::osl::Mutex m_aMutex
void prepareSet(rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
::cppu::PropertySetMixin< css::report::XFormatCondition > FormatConditionPropertySet
::cppu::WeakComponentImplHelper< css::report::XFormatCondition,css::lang::XServiceInfo > FormatConditionBase
#define DECLARE_XINTERFACE()