19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_IMAGECONTROL_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_IMAGECONTROL_HXX
24#include <com/sun/star/report/XImageControl.hpp>
28#include <com/sun/star/lang/XServiceInfo.hpp>
34 typedef ::cppu::WeakComponentImplHelper< css::report::XImageControl
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 OImageControl(css::uno::Reference< css::uno::XComponentContext >
const & _xContext);
82 explicit OImageControl(css::uno::Reference< css::uno::XComponentContext >
const & _xContext
83 ,
const css::uno::Reference< css::lang::XMultiServiceFactory > & _xFactory
84 ,css::uno::Reference< css::drawing::XShape >& _xShape);
100 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const css::
uno::
Any& aValue ) override;
126 virtual
void SAL_CALL
setImageURL( const OUString& _imageurl ) override;
130 virtual
void SAL_CALL
setScaleMode( ::sal_Int16 _scalemode ) override;
136 virtual
void SAL_CALL
dispose() override;
139 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
141 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
143 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
147 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
148 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
150 virtual void SAL_CALL
addContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
151 virtual void SAL_CALL
removeContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
158 virtual void SAL_CALL
replaceByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
161 virtual void SAL_CALL
insertByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
165 virtual ::sal_Int32 SAL_CALL
getCount( )
override;
166 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)
virtual void SAL_CALL replaceByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
virtual OUString SAL_CALL getShapeType() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
OImageControl(const OImageControl &)=delete
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
static OUString getImplementationName_Static()
virtual void SAL_CALL removeByIndex(::sal_Int32 Index) override
virtual ~OImageControl() override
virtual css::uno::Reference< css::awt::XImageProducer > SAL_CALL getImageProducer() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
OReportControlModel m_aProps
OImageControl & operator=(const OImageControl &)=delete
virtual sal_Bool SAL_CALL getPreserveIRI() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL removeContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
virtual ::sal_Int16 SAL_CALL getScaleMode() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setScaleMode(::sal_Int16 _scalemode) override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void SAL_CALL insertByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
virtual sal_Bool SAL_CALL hasElements() override
virtual void SAL_CALL setImageURL(const OUString &_imageurl) override
virtual OUString SAL_CALL getImageURL() override
void set(const OUString &_sProperty, const T &Value, T &_member)
OImageControl(css::uno::Reference< css::uno::XComponentContext > const &_xContext)
virtual ::sal_Int32 SAL_CALL getCount() override
OImageControl(css::uno::Reference< css::uno::XComponentContext > const &_xContext, const css::uno::Reference< css::lang::XMultiServiceFactory > &_xFactory, css::uno::Reference< css::drawing::XShape > &_xShape)
static css::uno::Sequence< OUString > getSupportedServiceNames_Static()
virtual void SAL_CALL setPreserveIRI(sal_Bool _preserveiri) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
static css::uno::Reference< css::uno::XInterface > create(css::uno::Reference< css::uno::XComponentContext > const &xContext)
virtual css::uno::Any SAL_CALL getByIndex(::sal_Int32 Index) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
void set(const OUString &_sProperty, bool Value, bool &_member)
virtual void SAL_CALL dispose() override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL addContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
::cppu::PropertySetMixin< css::report::XImageControl > ImageControlPropertySet
::cppu::WeakComponentImplHelper< css::report::XImageControl,css::lang::XServiceInfo > ImageControlBase
#define DECLARE_XINTERFACE()