LibreOffice Module toolkit (master) 1
|
#include <geometrycontrolmodel.hxx>
Public Member Functions | |
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 |
Protected Member Functions | |
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 |
Static Protected Member Functions | |
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 | |
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 |
Private Member Functions | |
void | registerProperties () |
Definition at line 50 of file geometrycontrolmodel.hxx.
|
protected |
_pAggregateInstance | the object to be aggregated. The refcount of the instance given MUST be 0! |
Definition at line 71 of file geometrycontrolmodel.cxx.
References m_aMutex, m_bCloneable, m_refCount, m_xAggregate, and registerProperties().
|
protected |
_rxAggregateInstance | is the object to be aggregated. Must be acquired exactly once (by the reference object given). Will be reset to NULL upon leaving |
|
overrideprotectedvirtual |
Definition at line 298 of file geometrycontrolmodel.cxx.
References releaseAggregation().
|
overridevirtualnoexcept |
Reimplemented from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 277 of file geometrycontrolmodel.cxx.
References cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >::acquire().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 304 of file geometrycontrolmodel.cxx.
|
overrideprotectedvirtual |
Definition at line 357 of file geometrycontrolmodel.cxx.
References aName, createClone_Impl(), m_aName, m_aTag, m_bCloneable, m_nHeight, m_nPosX, m_nPosY, m_nStep, m_nTabIndex, m_nWidth, and m_xAggregate.
|
protectedpure virtual |
Implemented in OGeometryControlModel< CONTROLMODEL >, and OCommonGeometryControlModel.
Referenced by createClone().
|
overrideprotectedvirtual |
Definition at line 422 of file geometrycontrolmodel.cxx.
References m_xAggregate, and query_aggregation().
|
overrideprotectedvirtual |
Definition at line 414 of file geometrycontrolmodel.cxx.
References mxEventContainer.
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 317 of file geometrycontrolmodel.cxx.
|
overrideprotectedvirtual |
Definition at line 345 of file geometrycontrolmodel.cxx.
References ImplGetDefaultValueByHandle(), and nHandle.
|
overrideprotectedvirtual |
Definition at line 351 of file geometrycontrolmodel.cxx.
Referenced by OCommonGeometryControlModel::OCommonGeometryControlModel().
|
overrideprotectedvirtual |
Definition at line 330 of file geometrycontrolmodel.cxx.
References CompareProperties(), ImplGetDefaultValueByHandle(), ImplGetPropertyValueByHandle(), and nHandle.
Reimplemented from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 136 of file geometrycontrolmodel.cxx.
References aTypes, comphelper::OPropertyContainer::getBaseTypes(), cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >::getTypes(), and m_xAggregate.
|
staticprotected |
Definition at line 184 of file geometrycontrolmodel.cxx.
References GCM_PROPERTY_ID_HEIGHT, GCM_PROPERTY_ID_NAME, GCM_PROPERTY_ID_POS_X, GCM_PROPERTY_ID_POS_Y, GCM_PROPERTY_ID_RESOURCERESOLVER, GCM_PROPERTY_ID_STEP, GCM_PROPERTY_ID_TABINDEX, GCM_PROPERTY_ID_TAG, GCM_PROPERTY_ID_WIDTH, and nHandle.
Referenced by getPropertyDefaultByHandle(), getPropertyStateByHandle(), and setPropertyToDefaultByHandle().
|
protected |
Definition at line 206 of file geometrycontrolmodel.cxx.
References GCM_PROPERTY_ID_HEIGHT, GCM_PROPERTY_ID_NAME, GCM_PROPERTY_ID_POS_X, GCM_PROPERTY_ID_POS_Y, GCM_PROPERTY_ID_RESOURCERESOLVER, GCM_PROPERTY_ID_STEP, GCM_PROPERTY_ID_TABINDEX, GCM_PROPERTY_ID_TAG, GCM_PROPERTY_ID_WIDTH, m_aName, m_aTag, m_nHeight, m_nPosX, m_nPosY, m_nStep, m_nTabIndex, m_nWidth, m_xStrResolver, and nHandle.
Referenced by getPropertyStateByHandle().
|
protected |
Definition at line 228 of file geometrycontrolmodel.cxx.
References GCM_PROPERTY_ID_HEIGHT, GCM_PROPERTY_ID_NAME, GCM_PROPERTY_ID_POS_X, GCM_PROPERTY_ID_POS_Y, GCM_PROPERTY_ID_RESOURCERESOLVER, GCM_PROPERTY_ID_STEP, GCM_PROPERTY_ID_TABINDEX, GCM_PROPERTY_ID_TAG, GCM_PROPERTY_ID_WIDTH, m_aName, m_aTag, m_nHeight, m_nPosX, m_nPosY, m_nStep, m_nTabIndex, m_nWidth, m_xStrResolver, and nHandle.
Referenced by setPropertyToDefaultByHandle().
|
overrideprotectedvirtual |
Reimplemented from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 246 of file geometrycontrolmodel.cxx.
References Any, m_bCloneable, m_xAggregate, and cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >::queryAggregation().
|
overridevirtual |
Reimplemented from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 271 of file geometrycontrolmodel.cxx.
References Any, and cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >::queryInterface().
|
private |
Definition at line 169 of file geometrycontrolmodel.cxx.
References DEFAULT_ATTRIBS, GCM_PROPERTY_HEIGHT, GCM_PROPERTY_ID_HEIGHT, GCM_PROPERTY_ID_NAME, GCM_PROPERTY_ID_POS_X, GCM_PROPERTY_ID_POS_Y, GCM_PROPERTY_ID_RESOURCERESOLVER, GCM_PROPERTY_ID_STEP, GCM_PROPERTY_ID_TABINDEX, GCM_PROPERTY_ID_TAG, GCM_PROPERTY_ID_WIDTH, GCM_PROPERTY_NAME, GCM_PROPERTY_POS_X, GCM_PROPERTY_POS_Y, GCM_PROPERTY_RESOURCERESOLVER, GCM_PROPERTY_STEP, GCM_PROPERTY_TABINDEX, GCM_PROPERTY_TAG, GCM_PROPERTY_WIDTH, m_aName, m_aTag, m_nHeight, m_nPosX, m_nPosY, m_nStep, m_nTabIndex, m_nWidth, m_xStrResolver, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by OGeometryControlModel_Base().
|
overridevirtualnoexcept |
Reimplemented from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >.
Definition at line 283 of file geometrycontrolmodel.cxx.
References cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >::release().
|
protected |
releases the aggregation
Can be used if in a derived class, an exception has to be thrown after this base class here already did the aggregation
Definition at line 289 of file geometrycontrolmodel.cxx.
References m_xAggregate.
Referenced by OCommonGeometryControlModel::OCommonGeometryControlModel(), and ~OGeometryControlModel_Base().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Reimplemented in OCommonGeometryControlModel.
Definition at line 311 of file geometrycontrolmodel.cxx.
Referenced by OCommonGeometryControlModel::setFastPropertyValue_NoBroadcast().
|
overrideprotectedvirtual |
Definition at line 339 of file geometrycontrolmodel.cxx.
References ImplGetDefaultValueByHandle(), ImplSetPropertyValueByHandle(), and nHandle.
|
protected |
Definition at line 67 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 70 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 74 of file geometrycontrolmodel.hxx.
Referenced by createClone(), OGeometryControlModel_Base(), and queryAggregation().
|
protected |
Definition at line 66 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 63 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 64 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 69 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 68 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 65 of file geometrycontrolmodel.hxx.
Referenced by createClone(), ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 58 of file geometrycontrolmodel.hxx.
Referenced by createClone(), disposing(), getTypes(), OGeometryControlModel_Base(), queryAggregation(), and releaseAggregation().
|
protected |
Definition at line 71 of file geometrycontrolmodel.hxx.
Referenced by ImplGetPropertyValueByHandle(), ImplSetPropertyValueByHandle(), and registerProperties().
|
protected |
Definition at line 60 of file geometrycontrolmodel.hxx.
Referenced by getEvents().