19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FORMATTEDFIELD_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FORMATTEDFIELD_HXX
23#include <com/sun/star/report/XFormattedField.hpp>
28#include <com/sun/star/lang/XServiceInfo.hpp>
35 typedef ::cppu::WeakComponentImplHelper< css::report::XFormattedField
49 css::uno::Reference< css::util::XNumberFormatsSupplier >
58 void set(
const OUString& _sProperty
60 ,css::style::ParagraphAdjust& _member)
65 if (
static_cast<sal_Int16
>(_member) !=
Value )
67 prepareSet(_sProperty, css::uno::Any(
static_cast<sal_Int16
>(_member)), css::uno::Any(
Value), &l);
68 _member =
static_cast<css::style::ParagraphAdjust
>(
Value);
73 template <
typename T>
void set(
const OUString& _sProperty
80 if ( _member !=
Value )
82 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
88 void set(
const OUString& _sProperty
95 if ( _member !=
Value )
97 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
105 explicit OFormattedField(css::uno::Reference< css::uno::XComponentContext >
const & _xContext);
106 explicit OFormattedField(css::uno::Reference< css::uno::XComponentContext >
const & _xContext
107 ,
const css::uno::Reference< css::lang::XMultiServiceFactory > & _xFactory
108 ,css::uno::Reference< css::drawing::XShape >& _xShape);
124 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const css::
uno::
Any& aValue ) override;
147 virtual ::sal_Int32 SAL_CALL
getCount( ) override;
170 virtual
void SAL_CALL
setFormatKey(::sal_Int32 the_value) override;
175 virtual
void SAL_CALL
dispose() override;
178 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
180 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
182 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
186 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
187 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
#define REPORTCONTROLMODEL_HEADER()
#define REPORTCONTROLFORMAT_HEADER()
#define REPORTCOMPONENT_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::WeakComponentImplHelper< css::report::XFormattedField,css::lang::XServiceInfo > FormattedFieldBase
::cppu::PropertySetMixin< css::report::XFormattedField > FormattedFieldPropertySet
#define DECLARE_XINTERFACE()