LibreOffice Module reportdesign (master) 1
Public Member Functions | Static 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
 

Static Public Member Functions

static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
static OUString getImplementationName_Static ()
 
static css::uno::Reference< css::uno::XInterface > create (css::uno::Reference< css::uno::XComponentContext > const &xContext)
 

Protected Member Functions

virtual ~OImageControl () override
 
- Protected Member Functions inherited from cppu::PropertySetMixin< typename T >
 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 css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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

◆ OImageControl() [1/3]

reportdesign::OImageControl::OImageControl ( const OImageControl )
privatedelete

◆ ~OImageControl()

reportdesign::OImageControl::~OImageControl ( )
overrideprotectedvirtual

Definition at line 138 of file ImageControl.cxx.

◆ OImageControl() [2/3]

reportdesign::OImageControl::OImageControl ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext)
explicit

◆ OImageControl() [3/3]

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

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addContainerListener()

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

Definition at line 374 of file ImageControl.cxx.

References m_aProps.

◆ addEventListener()

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

Definition at line 137 of file ImageControl.hxx.

◆ addPropertyChangeListener()

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

Definition at line 275 of file ImageControl.cxx.

◆ addVetoableChangeListener()

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

Definition at line 285 of file ImageControl.cxx.

◆ create()

uno::Reference< uno::XInterface > reportdesign::OImageControl::create ( css::uno::Reference< css::uno::XComponentContext > const &  xContext)
static

Definition at line 182 of file ImageControl.cxx.

◆ createClone()

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

Definition at line 332 of file ImageControl.cxx.

References reportdesign::cloneObject(), m_aProps, and SERVICE_IMAGECONTROL.

◆ dispose()

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

Definition at line 158 of file ImageControl.cxx.

◆ getByIndex()

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

Definition at line 418 of file ImageControl.cxx.

References m_aProps.

◆ getCount()

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

Definition at line 413 of file ImageControl.cxx.

References m_aProps.

◆ getElementType()

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

Definition at line 385 of file ImageControl.cxx.

References cppu::UnoType< typename T >::get().

◆ getImageProducer()

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

Definition at line 353 of file ImageControl.cxx.

◆ getImageURL()

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

Definition at line 342 of file ImageControl.cxx.

References m_aMutex.

◆ getImplementationName()

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

Definition at line 170 of file ImageControl.cxx.

◆ getImplementationName_Static()

OUString reportdesign::OImageControl::getImplementationName_Static ( )
static
Exceptions
css::uno::RuntimeException

Definition at line 164 of file ImageControl.cxx.

◆ getParent()

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

Definition at line 359 of file ImageControl.cxx.

◆ getPreserveIRI()

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

Definition at line 468 of file ImageControl.cxx.

References m_aMutex.

◆ getPropertySetInfo()

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 260 of file ImageControl.cxx.

◆ getPropertyValue()

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

Definition at line 270 of file ImageControl.cxx.

◆ getScaleMode()

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

Definition at line 455 of file ImageControl.cxx.

References m_aMutex.

◆ getShapeType()

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

Definition at line 447 of file ImageControl.cxx.

References m_aMutex, and m_aProps.

◆ getSupportedServiceNames()

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

Definition at line 188 of file ImageControl.cxx.

◆ getSupportedServiceNames_Static()

uno::Sequence< OUString > reportdesign::OImageControl::getSupportedServiceNames_Static ( )
static
Exceptions
css::uno::RuntimeException

Definition at line 175 of file ImageControl.cxx.

References SERVICE_IMAGECONTROL.

◆ hasElements()

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

Definition at line 390 of file ImageControl.cxx.

References m_aProps.

◆ insertByIndex()

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

Definition at line 396 of file ImageControl.cxx.

References m_aProps.

◆ operator=()

OImageControl & reportdesign::OImageControl::operator= ( const OImageControl )
privatedelete

◆ removeByIndex()

void SAL_CALL reportdesign::OImageControl::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 401 of file ImageControl.cxx.

References m_aProps.

◆ removeContainerListener()

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

Definition at line 379 of file ImageControl.cxx.

References m_aProps.

◆ removeEventListener()

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

Definition at line 141 of file ImageControl.hxx.

◆ removePropertyChangeListener()

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

Definition at line 280 of file ImageControl.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 290 of file ImageControl.cxx.

◆ replaceByIndex()

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

Definition at line 407 of file ImageControl.cxx.

References m_aProps.

◆ set() [1/2]

void reportdesign::OImageControl::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate

◆ set() [2/2]

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

◆ setImageURL()

void SAL_CALL reportdesign::OImageControl::setImageURL ( const OUString &  _imageurl)
overridevirtual

Definition at line 348 of file ImageControl.cxx.

References PROPERTY_IMAGEURL, and set().

◆ setParent()

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

Definition at line 364 of file ImageControl.cxx.

References Parent.

◆ setPreserveIRI()

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

Definition at line 474 of file ImageControl.cxx.

References PROPERTY_PRESERVEIRI, and set().

◆ setPropertyValue()

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

Definition at line 265 of file ImageControl.cxx.

◆ setScaleMode()

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

Definition at line 461 of file ImageControl.cxx.

References PROPERTY_SCALEMODE, and set().

◆ supportsService()

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

Definition at line 193 of file ImageControl.cxx.

References ServiceName, and cppu::supportsService().

Friends And Related Function Documentation

◆ OShapeHelper

friend class OShapeHelper
friend

Definition at line 45 of file ImageControl.hxx.

Member Data Documentation

◆ m_aImageURL

OUString reportdesign::OImageControl::m_aImageURL
private

Definition at line 47 of file ImageControl.hxx.

◆ m_aProps

OReportControlModel reportdesign::OImageControl::m_aProps
private

Definition at line 46 of file ImageControl.hxx.

◆ m_bPreserveIRI

bool reportdesign::OImageControl::m_bPreserveIRI
private

Definition at line 49 of file ImageControl.hxx.

◆ m_nScaleMode

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: