20#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FIXEDTEXT_HXX
21#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_FIXEDTEXT_HXX
24#include <com/sun/star/report/XFixedText.hpp>
29#include <com/sun/star/lang/XServiceInfo.hpp>
36 typedef ::cppu::WeakComponentImplHelper< css::report::XFixedText
55 void set(
const OUString& _sProperty
57 ,css::style::ParagraphAdjust& _member)
62 if (
static_cast<sal_Int16
>(_member) !=
Value )
64 prepareSet(_sProperty, css::uno::Any(
static_cast<sal_Int16
>(_member)), css::uno::Any(
Value), &l);
65 _member =
static_cast<css::style::ParagraphAdjust
>(
Value);
70 template <
typename T>
void set(
const OUString& _sProperty
77 if ( _member !=
Value )
79 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
85 void set(
const OUString& _sProperty
92 if ( _member !=
Value )
94 prepareSet(_sProperty, css::uno::Any(_member), css::uno::Any(
Value), &l);
102 explicit OFixedText(css::uno::Reference< css::uno::XComponentContext >
const & _xContext);
103 explicit OFixedText(css::uno::Reference< css::uno::XComponentContext >
const & _xContext
104 ,
const css::uno::Reference< css::lang::XMultiServiceFactory > & _xFactory
105 ,css::uno::Reference< css::drawing::XShape >& _xShape);
121 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const css::
uno::
Any& aValue ) override;
143 virtual OUString SAL_CALL
getLabel() override;
144 virtual
void SAL_CALL
setLabel( const OUString& _label ) override;
150 virtual
void SAL_CALL
dispose() override;
153 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
155 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
157 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
161 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
162 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
164 virtual void SAL_CALL
addContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
165 virtual void SAL_CALL
removeContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
172 virtual void SAL_CALL
replaceByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
175 virtual void SAL_CALL
insertByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
179 virtual ::sal_Int32 SAL_CALL
getCount( )
override;
180 virtual css::uno::Any SAL_CALL
getByIndex( ::sal_Int32
Index )
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)
void set(const OUString &_sProperty, sal_Int16 Value, css::style::ParagraphAdjust &_member)
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual ::sal_Int32 SAL_CALL getCount() override
OReportControlModel m_aProps
static css::uno::Reference< css::uno::XInterface > create(css::uno::Reference< css::uno::XComponentContext > const &xContext)
virtual void SAL_CALL replaceByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
virtual void SAL_CALL addContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
OFixedText(css::uno::Reference< css::uno::XComponentContext > const &_xContext, const css::uno::Reference< css::lang::XMultiServiceFactory > &_xFactory, css::uno::Reference< css::drawing::XShape > &_xShape)
virtual css::uno::Any SAL_CALL getByIndex(::sal_Int32 Index) override
virtual ~OFixedText() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual OUString SAL_CALL getShapeType() override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual void SAL_CALL removeContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL insertByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
OFixedText(css::uno::Reference< css::uno::XComponentContext > const &_xContext)
virtual css::uno::Type SAL_CALL getElementType() override
void set(const OUString &_sProperty, const T &Value, T &_member)
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
static OUString getImplementationName_Static()
OFixedText & operator=(const OFixedText &)=delete
void set(const OUString &_sProperty, bool Value, bool &_member)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
static css::uno::Sequence< OUString > getSupportedServiceNames_Static()
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
OFixedText(const OFixedText &)=delete
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL dispose() override
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 setLabel(const OUString &_label) override
virtual void SAL_CALL removeByIndex(::sal_Int32 Index) override
virtual OUString SAL_CALL getLabel() override
virtual sal_Bool SAL_CALL hasElements() override
::cppu::WeakComponentImplHelper< css::report::XFixedText,css::lang::XServiceInfo > FixedTextBase
::cppu::PropertySetMixin< css::report::XFixedText > FixedTextPropertySet
#define DECLARE_XINTERFACE()