LibreOffice Module toolkit (master) 1
|
#include <treecontrol.hxx>
Public Member Functions | |
UnoTreeModel (const css::uno::Reference< css::uno::XComponentContext > &i_factory) | |
UnoTreeModel (const UnoTreeModel &rOther) | |
rtl::Reference< UnoControlModel > | Clone () const override |
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
OUString SAL_CALL | getServiceName () override |
OUString SAL_CALL | getImplementationName () override |
css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from UnoControlModel | |
UnoControlModel (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
UnoControlModel (const UnoControlModel &rModel) | |
virtual rtl::Reference< UnoControlModel > | Clone () const =0 |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
void SAL_CALL | acquire () noexcept override |
void SAL_CALL | release () noexcept override |
css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) override |
css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () override |
void SAL_CALL | dispose () override |
void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
OUString SAL_CALL | getServiceName () override |
void SAL_CALL | write (const css::uno::Reference< css::io::XObjectOutputStream > &OutStream) override |
void SAL_CALL | read (const css::uno::Reference< css::io::XObjectInputStream > &InStream) override |
OUString SAL_CALL | getImplementationName () override |
sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
::cppu::IPropertyArrayHelper & | getInfoHelper () override=0 |
bool | convertFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
void | setFastPropertyValue_NoBroadcast (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &rValue) override |
void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const override |
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) override |
Public Member Functions inherited from cppu::WeakAggImplHelper6< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > | |
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 cppu::OWeakAggObject | |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Public Member Functions inherited from comphelper::OPropertySetHelper | |
OPropertySetHelper () | |
OPropertySetHelper (bool bIgnoreRuntimeExceptionsWhileFiring) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
void | disposing (std::unique_lock< std::mutex > &rGuard) |
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) override final |
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) override final |
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override final |
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override final |
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override final |
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override final |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence<::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence<::rtl::OUString > &PropertyNames) override final |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence<::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override final |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override final |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence<::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override final |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Protected Member Functions | |
css::uno::Any | ImplGetDefaultValue (sal_uInt16 nPropId) const override |
::cppu::IPropertyArrayHelper & | getInfoHelper () override |
Protected Member Functions inherited from UnoControlModel | |
void | ImplRegisterProperty (sal_uInt16 nPropType) |
void | ImplRegisterProperties (const std::vector< sal_uInt16 > &rIds) |
void | ImplRegisterProperty (sal_uInt16 nPropId, const css::uno::Any &rDefault) |
css::uno::Sequence< sal_Int32 > | ImplGetPropertyIds () const |
virtual css::uno::Any | ImplGetDefaultValue (sal_uInt16 nPropId) const |
bool | ImplHasProperty (sal_uInt16 nPropId) const |
virtual void | ImplNormalizePropertySequence (const sal_Int32 _nCount, sal_Int32 *_pHandles, css::uno::Any *_pValues, sal_Int32 *_pValidHandles) const |
called before setting multiple properties, allows to care for property dependencies More... | |
template<typename T > | |
void | UNO_CONTROL_MODEL_REGISTER_PROPERTIES () |
void | setFastPropertyValueImpl (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &aValue) override |
css::beans::PropertyState | getPropertyStateImpl (std::unique_lock< std::mutex > &rGuard, const OUString &PropertyName) |
void | setPropertyValuesImpl (std::unique_lock< std::mutex > &rGuard, const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) |
Protected Member Functions inherited from cppu::OWeakAggObject | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Member Functions inherited from comphelper::OPropertySetHelper | |
~OPropertySetHelper () | |
virtual void | setFastPropertyValueImpl (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &rValue) |
virtual css::uno::Any | getPropertyValueImpl (std::unique_lock< std::mutex > &rGuard, const ::rtl::OUString &aPropertyName) |
void | fire (std::unique_lock< std::mutex > &rGuard, sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, bool bVetoable) |
void | setFastPropertyValues (std::unique_lock< std::mutex > &rGuard, sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
virtual cppu::IPropertyArrayHelper & | getInfoHelper ()=0 |
virtual bool | convertFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void | setFastPropertyValue_NoBroadcast (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const=0 |
void | setDependentFastPropertyValue (std::unique_lock< std::mutex > &rGuard, sal_Int32 i_handle, const css::uno::Any &i_value) |
Additional Inherited Members | |
Static Public Member Functions inherited from comphelper::OPropertySetHelper | |
static css::uno::Sequence< css::uno::Type > | getTypes () |
static css::uno::Reference< css::beans::XPropertySetInfo > | createPropertySetInfo (cppu::IPropertyArrayHelper &rProperties) |
Static Protected Member Functions inherited from UnoControlModel | |
static void | ImplEnsureHandleOrder (const sal_Int32 _nCount, sal_Int32 *_pHandles, css::uno::Any *_pValues, sal_Int32 _nFirstHandle, sal_Int32 _nSecondHandle) |
ensures that two property values in a sequence have a certain order More... | |
Protected Attributes inherited from UnoControlModel | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
Definition at line 29 of file treecontrol.hxx.
|
explicit |
Definition at line 47 of file treecontrol.cxx.
References BASEPROPERTY_BACKGROUNDCOLOR, BASEPROPERTY_BORDER, BASEPROPERTY_BORDERCOLOR, BASEPROPERTY_DEFAULTCONTROL, BASEPROPERTY_ENABLED, BASEPROPERTY_ENABLEVISIBLE, BASEPROPERTY_FILLCOLOR, BASEPROPERTY_HELPTEXT, BASEPROPERTY_HELPURL, BASEPROPERTY_HIDEINACTIVESELECTION, BASEPROPERTY_PRINTABLE, BASEPROPERTY_ROW_HEIGHT, BASEPROPERTY_TABSTOP, BASEPROPERTY_TREE_DATAMODEL, BASEPROPERTY_TREE_EDITABLE, BASEPROPERTY_TREE_INVOKESSTOPNODEEDITING, BASEPROPERTY_TREE_ROOTDISPLAYED, BASEPROPERTY_TREE_SELECTIONTYPE, BASEPROPERTY_TREE_SHOWSHANDLES, BASEPROPERTY_TREE_SHOWSROOTHANDLES, and UnoControlModel::ImplRegisterProperty().
Referenced by Clone().
|
inline |
Definition at line 37 of file treecontrol.hxx.
|
overridevirtual |
Implements UnoControlModel.
Definition at line 72 of file treecontrol.cxx.
References UnoTreeModel().
|
inlineoverride |
Definition at line 51 of file treecontrol.hxx.
|
overrideprotectedvirtual |
Implements UnoControlModel.
Definition at line 106 of file treecontrol.cxx.
References aHelper, and UnoControlModel::ImplGetPropertyIds().
Referenced by getPropertySetInfo().
|
override |
Definition at line 113 of file treecontrol.cxx.
References comphelper::OPropertySetHelper::createPropertySetInfo(), and getInfoHelper().
|
override |
Definition at line 77 of file treecontrol.cxx.
|
inlineoverride |
Definition at line 56 of file treecontrol.hxx.
References UnoControlModel::getSupportedServiceNames().
|
overrideprotectedvirtual |
Reimplemented from UnoControlModel.
Definition at line 82 of file treecontrol.cxx.
References Any, BASEPROPERTY_DEFAULTCONTROL, BASEPROPERTY_ROW_HEIGHT, BASEPROPERTY_TREE_DATAMODEL, BASEPROPERTY_TREE_EDITABLE, BASEPROPERTY_TREE_INVOKESSTOPNODEEDITING, BASEPROPERTY_TREE_ROOTDISPLAYED, BASEPROPERTY_TREE_SELECTIONTYPE, BASEPROPERTY_TREE_SHOWSHANDLES, BASEPROPERTY_TREE_SHOWSROOTHANDLES, and UnoControlModel::ImplGetDefaultValue().