LibreOffice Module reportdesign (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
reportdesign::OImageControl Class Reference

implementation of a More...

#include <ImageControl.hxx>

Inheritance diagram for reportdesign::OImageControl:
[legend]
Collaboration diagram for reportdesign::OImageControl:
[legend]

Public Member Functions

 OImageControl (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
 OImageControl (css::uno::Reference< css::uno::XComponentContext > const &_xContext, const css::uno::Reference< css::lang::XMultiServiceFactory > &_xFactory, css::uno::Reference< css::drawing::XShape > &_xShape)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual OUString SAL_CALL getShapeType () override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual OUString SAL_CALL getImageURL () override
 
virtual void SAL_CALL setImageURL (const OUString &_imageurl) override
 
virtual sal_Bool SAL_CALL getPreserveIRI () override
 
virtual void SAL_CALL setPreserveIRI (sal_Bool _preserveiri) override
 
virtual ::sal_Int16 SAL_CALL getScaleMode () override
 
virtual void SAL_CALL setScaleMode (::sal_Int16 _scalemode) override
 
virtual css::uno::Reference< css::awt::XImageProducer > SAL_CALL getImageProducer () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL replaceByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL insertByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (::sal_Int32 Index) override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (::sal_Int32 Index) override
 

Protected Member Functions

virtual ~OImageControl () override
 
- Protected Member Functions inherited from cppu::PropertySetMixin< class >
 PropertySetMixin (css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
 
 ~PropertySetMixin ()
 
- Protected Member Functions inherited from cppu::PropertySetMixinImpl
void prepareSet (rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
 
void dispose ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &type) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValue (rtl::OUString const &propertyName, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (rtl::OUString const &propertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 handle, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 handle) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (css::uno::Sequence< css::beans::PropertyValue > const &props) SAL_OVERRIDE
 

Private Member Functions

 OImageControl (const OImageControl &)=delete
 
OImageControloperator= (const OImageControl &)=delete
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
void set (const OUString &_sProperty, bool Value, bool &_member)
 

Private Attributes

OReportControlModel m_aProps
 
OUString m_aImageURL
 
sal_Int16 m_nScaleMode
 
bool m_bPreserveIRI
 

Friends

class OShapeHelper
 

Additional Inherited Members

- Protected Types inherited from cppu::PropertySetMixinImpl
enum  Implements
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::PropertySetMixinImpl
 IMPLEMENTS_PROPERTY_SET
 
 IMPLEMENTS_FAST_PROPERTY_SET
 
 IMPLEMENTS_PROPERTY_ACCESS
 

Detailed Description

implementation of a

Definition at line 41 of file ImageControl.hxx.

Constructor & Destructor Documentation

reportdesign::OImageControl::OImageControl ( const OImageControl )
privatedelete
reportdesign::OImageControl::~OImageControl ( )
overrideprotectedvirtual

Definition at line 138 of file ImageControl.cxx.

reportdesign::OImageControl::OImageControl ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext)
explicit
reportdesign::OImageControl::OImageControl ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext,
const css::uno::Reference< css::lang::XMultiServiceFactory > &  _xFactory,
css::uno::Reference< css::drawing::XShape > &  _xShape 
)
explicit

Member Function Documentation

void SAL_CALL reportdesign::OImageControl::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 355 of file ImageControl.cxx.

virtual void SAL_CALL reportdesign::OImageControl::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 131 of file ImageControl.hxx.

void SAL_CALL reportdesign::OImageControl::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 256 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 266 of file ImageControl.cxx.

uno::Reference< util::XCloneable > SAL_CALL reportdesign::OImageControl::createClone ( )
overridevirtual

Definition at line 313 of file ImageControl.cxx.

References reportdesign::cloneObject(), and SERVICE_IMAGECONTROL.

void SAL_CALL reportdesign::OImageControl::dispose ( void  )
overridevirtual

Definition at line 158 of file ImageControl.cxx.

uno::Any SAL_CALL reportdesign::OImageControl::getByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 399 of file ImageControl.cxx.

sal_Int32 SAL_CALL reportdesign::OImageControl::getCount ( )
override

Definition at line 394 of file ImageControl.cxx.

uno::Type SAL_CALL reportdesign::OImageControl::getElementType ( )
overridevirtual

Definition at line 366 of file ImageControl.cxx.

References cppu::UnoType< class >::get().

uno::Reference< awt::XImageProducer > SAL_CALL reportdesign::OImageControl::getImageProducer ( )
overridevirtual

Definition at line 334 of file ImageControl.cxx.

OUString SAL_CALL reportdesign::OImageControl::getImageURL ( )
overridevirtual

Definition at line 323 of file ImageControl.cxx.

References m_aMutex.

OUString SAL_CALL reportdesign::OImageControl::getImplementationName ( )
overridevirtual

Definition at line 164 of file ImageControl.cxx.

uno::Reference< uno::XInterface > SAL_CALL reportdesign::OImageControl::getParent ( )
overridevirtual

Definition at line 340 of file ImageControl.cxx.

sal_Bool SAL_CALL reportdesign::OImageControl::getPreserveIRI ( )
overridevirtual

Definition at line 449 of file ImageControl.cxx.

References m_aMutex.

uno::Reference< beans::XPropertySetInfo > SAL_CALL reportdesign::OImageControl::getPropertySetInfo ( )
overridevirtual

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 241 of file ImageControl.cxx.

uno::Any SAL_CALL reportdesign::OImageControl::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 251 of file ImageControl.cxx.

sal_Int16 SAL_CALL reportdesign::OImageControl::getScaleMode ( )
override

Definition at line 436 of file ImageControl.cxx.

References m_aMutex.

OUString SAL_CALL reportdesign::OImageControl::getShapeType ( )
overridevirtual

Definition at line 428 of file ImageControl.cxx.

References m_aMutex.

uno::Sequence< OUString > SAL_CALL reportdesign::OImageControl::getSupportedServiceNames ( )
overridevirtual

Definition at line 169 of file ImageControl.cxx.

References SERVICE_IMAGECONTROL.

sal_Bool SAL_CALL reportdesign::OImageControl::hasElements ( )
overridevirtual

Definition at line 371 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::insertByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 377 of file ImageControl.cxx.

OImageControl& reportdesign::OImageControl::operator= ( const OImageControl )
privatedelete
void SAL_CALL reportdesign::OImageControl::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 382 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 360 of file ImageControl.cxx.

virtual void SAL_CALL reportdesign::OImageControl::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 135 of file ImageControl.hxx.

void SAL_CALL reportdesign::OImageControl::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 261 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 271 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::replaceByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 388 of file ImageControl.cxx.

template<typename T >
void reportdesign::OImageControl::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate
void reportdesign::OImageControl::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate
void SAL_CALL reportdesign::OImageControl::setImageURL ( const OUString &  _imageurl)
overridevirtual

Definition at line 329 of file ImageControl.cxx.

References PROPERTY_IMAGEURL, and set().

void SAL_CALL reportdesign::OImageControl::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 345 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::setPreserveIRI ( sal_Bool  _preserveiri)
overridevirtual

Definition at line 455 of file ImageControl.cxx.

References PROPERTY_PRESERVEIRI, and set().

void SAL_CALL reportdesign::OImageControl::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 246 of file ImageControl.cxx.

void SAL_CALL reportdesign::OImageControl::setScaleMode ( ::sal_Int16  _scalemode)
overridevirtual

Definition at line 442 of file ImageControl.cxx.

References PROPERTY_SCALEMODE, and set().

sal_Bool SAL_CALL reportdesign::OImageControl::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 174 of file ImageControl.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class OShapeHelper
friend

Definition at line 45 of file ImageControl.hxx.

Member Data Documentation

OUString reportdesign::OImageControl::m_aImageURL
private

Definition at line 47 of file ImageControl.hxx.

OReportControlModel reportdesign::OImageControl::m_aProps
private

Definition at line 46 of file ImageControl.hxx.

bool reportdesign::OImageControl::m_bPreserveIRI
private

Definition at line 49 of file ImageControl.hxx.

sal_Int16 reportdesign::OImageControl::m_nScaleMode
private

Definition at line 48 of file ImageControl.hxx.


The documentation for this class was generated from the following files: