|
LibreOffice Module toolkit (master) 1
|
allows to extend an arbitrary com.sun.star.awt::UnoControlModel with geometry information. More...
#include <geometrycontrolmodel.hxx>
Public Member Functions | |
| OCommonGeometryControlModel (css::uno::Reference< css::util::XCloneable > &_rxAgg, OUString _aServiceSpecifier) | |
| instantiate the model More... | |
| virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 nId) const override |
| virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
| virtual rtl::Reference< OGeometryControlModel_Base > | createClone_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::OBroadcastHelper & | GetBroadcastHelper () |
| const ::cppu::OBroadcastHelper & | GetBroadcastHelper () 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::IPropertyArrayHelper * | getArrayHelper (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_Base > | createClone_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::IPropertyArrayHelper * | createArrayHelper (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 |
allows to extend an arbitrary com.sun.star.awt::UnoControlModel with geometry information.
Definition at line 207 of file geometrycontrolmodel.hxx.
| OCommonGeometryControlModel::OCommonGeometryControlModel | ( | css::uno::Reference< css::util::XCloneable > & | _rxAgg, |
| OUString | _aServiceSpecifier | ||
| ) |
instantiate the model
| _rxAgg | the 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().
|
overridevirtual |
Implements comphelper::OIdPropertyArrayUsageHelper< OCommonGeometryControlModel >.
Definition at line 510 of file geometrycontrolmodel.cxx.
References begin, end, m_nPropertyMapId, and Property.
|
overridevirtual |
Implements OGeometryControlModel_Base.
Definition at line 561 of file geometrycontrolmodel.cxx.
References m_sServiceSpecifier, and OCommonGeometryControlModel().
Reimplemented from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 566 of file geometrycontrolmodel.cxx.
|
override |
Definition at line 555 of file geometrycontrolmodel.cxx.
References comphelper::OIdPropertyArrayUsageHelper< OCommonGeometryControlModel >::getArrayHelper(), and m_nPropertyMapId.
|
overrideprivatevirtual |
Reimplemented from OGeometryControlModel_Base.
Definition at line 586 of file geometrycontrolmodel.cxx.
References comphelper::OIdPropertyArrayUsageHelper< OCommonGeometryControlModel >::getArrayHelper(), m_nPropertyMapId, nAttributes, and OGeometryControlModel_Base::setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 213 of file geometrycontrolmodel.hxx.
Referenced by createArrayHelper(), getInfoHelper(), OCommonGeometryControlModel(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 212 of file geometrycontrolmodel.hxx.
Referenced by createClone_Impl(), and OCommonGeometryControlModel().