LibreOffice Module toolkit (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OCommonGeometryControlModel Class Referencefinal

allows to extend an arbitrary com.sun.star.awt::UnoControlModel with geometry information. More...

#include <geometrycontrolmodel.hxx>

Inheritance diagram for OCommonGeometryControlModel:
[legend]
Collaboration diagram for OCommonGeometryControlModel:
[legend]

Public Member Functions

 OCommonGeometryControlModel (css::uno::Reference< css::util::XCloneable > &_rxAgg, OUString _aServiceSpecifier)
 instantiate the model More...
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual rtl::Reference< OGeometryControlModel_BasecreateClone_Impl (css::uno::Reference< css::util::XCloneable > &_rxAggregateInstance) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from OGeometryControlModel_Base
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
- Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper
 OMutexAndBroadcastHelper ()
 
::osl::Mutex & GetMutex ()
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >
 WeakAggComponentImplHelper2 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< OCommonGeometryControlModel >
 OIdPropertyArrayUsageHelper ()
 
virtual ~OIdPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper (sal_Int32 nId)
 

Private Member Functions

virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 

Private Attributes

OUString m_sServiceSpecifier
 
sal_Int32 m_nPropertyMapId
 

Additional Inherited Members

- Protected Member Functions inherited from OGeometryControlModel_Base
css::uno::Any ImplGetPropertyValueByHandle (sal_Int32 nHandle) const
 
void ImplSetPropertyValueByHandle (sal_Int32 nHandle, const css::uno::Any &aValue)
 
 OGeometryControlModel_Base (css::uno::XAggregation *_pAggregateInstance)
 
 OGeometryControlModel_Base (css::uno::Reference< css::util::XCloneable > &_rxAggregateInstance)
 
void releaseAggregation ()
 releases the aggregation More...
 
virtual ~OGeometryControlModel_Base () override
 
css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_aType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &_rValue, sal_Int32 _nHandle) const override
 
virtual css::beans::PropertyState getPropertyStateByHandle (sal_Int32 nHandle) override
 
virtual void setPropertyToDefaultByHandle (sal_Int32 nHandle) override
 
virtual css::uno::Any getPropertyDefaultByHandle (sal_Int32 nHandle) const override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getEvents () override
 
virtual rtl::Reference< OGeometryControlModel_BasecreateClone_Impl (css::uno::Reference< css::util::XCloneable > &_rxAggregateInstance)=0
 
virtual void SAL_CALL disposing () override
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const =0
 
- Static Protected Member Functions inherited from OGeometryControlModel_Base
static css::uno::Any ImplGetDefaultValueByHandle (sal_Int32 nHandle)
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Protected Attributes inherited from OGeometryControlModel_Base
css::uno::Reference< css::uno::XAggregation > m_xAggregate
 
css::uno::Reference< css::container::XNameContainer > mxEventContainer
 
sal_Int32 m_nPosX
 
sal_Int32 m_nPosY
 
sal_Int32 m_nWidth
 
sal_Int32 m_nHeight
 
OUString m_aName
 
sal_Int16 m_nTabIndex
 
sal_Int32 m_nStep
 
OUString m_aTag
 
css::uno::Reference< css::resource::XStringResourceResolver > m_xStrResolver
 
bool m_bCloneable
 
- Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper
::osl::Mutex m_aMutex
 
::cppu::OBroadcastHelper m_aBHelper
 

Detailed Description

allows to extend an arbitrary com.sun.star.awt::UnoControlModel with geometry information.

Definition at line 207 of file geometrycontrolmodel.hxx.

Constructor & Destructor Documentation

◆ OCommonGeometryControlModel()

OCommonGeometryControlModel::OCommonGeometryControlModel ( css::uno::Reference< css::util::XCloneable > &  _rxAgg,
OUString  _aServiceSpecifier 
)

instantiate the model

Parameters
_rxAggthe instance to aggregate. Must support the com.sun.star.awt::UnoControlModel (this is not checked here)

Definition at line 459 of file geometrycontrolmodel.cxx.

References OGeometryControlModel_Base::getPropertySetInfo(), m_nPropertyMapId, m_sServiceSpecifier, and OGeometryControlModel_Base::releaseAggregation().

Referenced by createClone_Impl().

Member Function Documentation

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OCommonGeometryControlModel::createArrayHelper ( sal_Int32  nId) const
overridevirtual

◆ createClone_Impl()

rtl::Reference< OGeometryControlModel_Base > OCommonGeometryControlModel::createClone_Impl ( css::uno::Reference< css::util::XCloneable > &  _rxAggregateInstance)
overridevirtual

◆ getImplementationId()

Sequence< sal_Int8 > SAL_CALL OCommonGeometryControlModel::getImplementationId ( )
overridevirtual

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL OCommonGeometryControlModel::getInfoHelper ( )
override

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL OCommonGeometryControlModel::setFastPropertyValue_NoBroadcast ( sal_Int32  _nHandle,
const css::uno::Any &  _rValue 
)
overrideprivatevirtual

Member Data Documentation

◆ m_nPropertyMapId

sal_Int32 OCommonGeometryControlModel::m_nPropertyMapId
private

◆ m_sServiceSpecifier

OUString OCommonGeometryControlModel::m_sServiceSpecifier
private

Definition at line 212 of file geometrycontrolmodel.hxx.

Referenced by createClone_Impl(), and OCommonGeometryControlModel().


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