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

implementation of a More...

#include <Shape.hxx>

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

Public Member Functions

 OShape (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
 OShape (css::uno::Reference< css::uno::XComponentContext > const &_xContext, const css::uno::Reference< css::lang::XMultiServiceFactory > &_xFactory, css::uno::Reference< css::drawing::XShape > &_xShape, const OUString &_sServiceName)
 
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 getCustomShapeEngine () override
 
virtual void SAL_CALL setCustomShapeEngine (const OUString &_customshapeengine) override
 
virtual OUString SAL_CALL getCustomShapeData () override
 
virtual void SAL_CALL setCustomShapeData (const OUString &_customshapedata) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCustomShapeGeometry () override
 
virtual void SAL_CALL setCustomShapeGeometry (const css::uno::Sequence< css::beans::PropertyValue > &_customshapegeometry) override
 
virtual sal_Bool SAL_CALL getOpaque () override
 
virtual void SAL_CALL setOpaque (sal_Bool _opaque) override
 
virtual OUString SAL_CALL getShapeType () override
 
virtual ::sal_Int32 SAL_CALL getZOrder () override
 
virtual void SAL_CALL setZOrder (::sal_Int32 _zorder) override
 
virtual css::drawing::HomogenMatrix3 SAL_CALL getTransformation () override
 
virtual void SAL_CALL setTransformation (const css::drawing::HomogenMatrix3 &_transformation) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () 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 ~OShape () 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

 OShape (const OShape &)=delete
 
OShapeoperator= (const OShape &)=delete
 
void set (const OUString &_sProperty, sal_Int16 Value, css::style::ParagraphAdjust &_member)
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
void set (const OUString &_sProperty, bool Value, bool &_member)
 
cppu::IPropertyArrayHelpergetInfoHelper ()
 

Private Attributes

::std::unique_ptr< ::comphelper::OPropertyArrayAggregationHelperm_pAggHelper
 
OReportControlModel m_aProps
 
css::drawing::HomogenMatrix3 m_Transformation
 
sal_Int32 m_nZOrder
 
bool m_bOpaque
 
OUString m_sServiceName
 
OUString m_CustomShapeEngine
 
OUString m_CustomShapeData
 
css::uno::Sequence< css::beans::PropertyValue > m_CustomShapeGeometry
 

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 42 of file Shape.hxx.

Constructor & Destructor Documentation

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

Definition at line 84 of file Shape.cxx.

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

Member Function Documentation

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

Definition at line 323 of file Shape.cxx.

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

Definition at line 168 of file Shape.hxx.

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

Definition at line 204 of file Shape.cxx.

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

Definition at line 224 of file Shape.cxx.

uno::Reference< util::XCloneable > SAL_CALL reportdesign::OShape::createClone ( )
overridevirtual
void SAL_CALL reportdesign::OShape::dispose ( void  )
overridevirtual

Definition at line 104 of file Shape.cxx.

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

Definition at line 367 of file Shape.cxx.

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

Definition at line 362 of file Shape.cxx.

OUString SAL_CALL reportdesign::OShape::getCustomShapeData ( )
overridevirtual

Definition at line 456 of file Shape.cxx.

References m_aMutex, and PROPERTY_CUSTOMSHAPEDATA.

OUString SAL_CALL reportdesign::OShape::getCustomShapeEngine ( )
overridevirtual

Definition at line 442 of file Shape.cxx.

References m_aMutex, and PROPERTY_CUSTOMSHAPEENGINE.

uno::Sequence< beans::PropertyValue > SAL_CALL reportdesign::OShape::getCustomShapeGeometry ( )
overridevirtual

Definition at line 469 of file Shape.cxx.

References m_aMutex, and PROPERTY_CUSTOMSHAPEGEOMETRY.

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

Definition at line 334 of file Shape.cxx.

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

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

Definition at line 111 of file Shape.cxx.

cppu::IPropertyArrayHelper & reportdesign::OShape::getInfoHelper ( )
private

Definition at line 170 of file Shape.cxx.

References cppu::IPropertyArrayHelper::getProperties().

sal_Bool SAL_CALL reportdesign::OShape::getOpaque ( )
overridevirtual

Definition at line 417 of file Shape.cxx.

References m_aMutex.

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

Definition at line 307 of file Shape.cxx.

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 163 of file Shape.cxx.

References cppu::OPropertySetHelper::createPropertySetInfo().

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

Definition at line 193 of file Shape.cxx.

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

Definition at line 395 of file Shape.cxx.

References m_aMutex.

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

Definition at line 116 of file Shape.cxx.

References SERVICE_SHAPE.

drawing::HomogenMatrix3 SAL_CALL reportdesign::OShape::getTransformation ( )
overridevirtual

Definition at line 429 of file Shape.cxx.

References m_aMutex, and PROPERTY_TRANSFORMATION.

sal_Int32 SAL_CALL reportdesign::OShape::getZOrder ( )
override

Definition at line 403 of file Shape.cxx.

References m_aMutex, and PROPERTY_ZORDER.

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

Definition at line 339 of file Shape.cxx.

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

Definition at line 345 of file Shape.cxx.

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

Definition at line 350 of file Shape.cxx.

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

Definition at line 328 of file Shape.cxx.

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

Definition at line 172 of file Shape.hxx.

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

Definition at line 214 of file Shape.cxx.

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

Definition at line 234 of file Shape.cxx.

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

Definition at line 356 of file Shape.cxx.

void reportdesign::OShape::set ( const OUString &  _sProperty,
sal_Int16  Value,
css::style::ParagraphAdjust &  _member 
)
inlineprivate
template<typename T >
void reportdesign::OShape::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate
void reportdesign::OShape::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate
void SAL_CALL reportdesign::OShape::setCustomShapeData ( const OUString &  _customshapedata)
overridevirtual

Definition at line 463 of file Shape.cxx.

References PROPERTY_CUSTOMSHAPEDATA, and set().

void SAL_CALL reportdesign::OShape::setCustomShapeEngine ( const OUString &  _customshapeengine)
overridevirtual

Definition at line 450 of file Shape.cxx.

References PROPERTY_CUSTOMSHAPEENGINE, and set().

void SAL_CALL reportdesign::OShape::setCustomShapeGeometry ( const css::uno::Sequence< css::beans::PropertyValue > &  _customshapegeometry)
overridevirtual

Definition at line 476 of file Shape.cxx.

References PROPERTY_CUSTOMSHAPEGEOMETRY, and set().

void SAL_CALL reportdesign::OShape::setOpaque ( sal_Bool  _opaque)
overridevirtual

Definition at line 423 of file Shape.cxx.

References m_aMutex, PROPERTY_OPAQUE, and set().

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

Definition at line 312 of file Shape.cxx.

References m_aMutex.

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

Definition at line 183 of file Shape.cxx.

void SAL_CALL reportdesign::OShape::setTransformation ( const css::drawing::HomogenMatrix3 &  _transformation)
overridevirtual

Definition at line 436 of file Shape.cxx.

References PROPERTY_TRANSFORMATION, and set().

void SAL_CALL reportdesign::OShape::setZOrder ( ::sal_Int32  _zorder)
overridevirtual

Definition at line 410 of file Shape.cxx.

References m_aMutex, PROPERTY_ZORDER, and set().

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

Definition at line 132 of file Shape.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class OShapeHelper
friend

Definition at line 46 of file Shape.hxx.

Member Data Documentation

OReportControlModel reportdesign::OShape::m_aProps
private

Definition at line 48 of file Shape.hxx.

bool reportdesign::OShape::m_bOpaque
private

Definition at line 51 of file Shape.hxx.

OUString reportdesign::OShape::m_CustomShapeData
private

Definition at line 55 of file Shape.hxx.

OUString reportdesign::OShape::m_CustomShapeEngine
private

Definition at line 54 of file Shape.hxx.

css::uno::Sequence< css::beans::PropertyValue > reportdesign::OShape::m_CustomShapeGeometry
private

Definition at line 56 of file Shape.hxx.

sal_Int32 reportdesign::OShape::m_nZOrder
private

Definition at line 50 of file Shape.hxx.

::std::unique_ptr< ::comphelper::OPropertyArrayAggregationHelper> reportdesign::OShape::m_pAggHelper
private

Definition at line 47 of file Shape.hxx.

OUString reportdesign::OShape::m_sServiceName
private

Definition at line 53 of file Shape.hxx.

css::drawing::HomogenMatrix3 reportdesign::OShape::m_Transformation
private

Definition at line 49 of file Shape.hxx.


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