LibreOffice Module cppuhelper (master)
1
|
OPropertySetHelper plus XPropertySetOption. More...
#include <propshlp.hxx>
Public Member Functions | |||
OPropertySetHelper2 (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents=NULL, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |||
Constructor. More... | |||
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE | ||
Only returns a reference to XMultiPropertySet, XFastPropertySet, XPropertySet and XEventListener. More... | |||
virtual void SAL_CALL | enableChangeListenerNotification (sal_Bool bEnable) SAL_OVERRIDE | ||
![]() | |||
OPropertySetHelper (OBroadcastHelper &rBHelper) | |||
OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |||
Constructor. More... | |||
OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |||
Constructor. More... | |||
css::uno::Sequence< css::uno::Type > | getTypes () | ||
eases implementing XTypeProvider::getTypes, returns the types of XMultiPropertySet, XFastPropertySet, XPropertySet More... | |||
void SAL_CALL | disposing () | ||
Send a disposing notification to the listeners in the containers aBoundLC and aVetoableLC. More... | |||
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE | ||
Throw UnknownPropertyException or PropertyVetoException if the property with the name rPropertyName does not exist or is readonly. More... | |||
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE | ||
Throw UnknownPropertyException if the property with the name rPropertyName does not exist. More... | |||
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE | ||
Ignored if the property is not bound. More... | |||
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE | ||
Ignored if the property is not bound. More... | |||
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE | ||
Ignored if the property is not constrained. More... | |||
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE | ||
Ignored if the property is not constrained. More... | |||
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE | ||
Throw UnknownPropertyException or PropertyVetoException if the property with the name rPropertyName does not exist or is readonly. More... | |||
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE | ||
| |||
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE | ||
The sequence may be contain not known properties. More... | |||
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE | ||
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE | ||
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE | ||
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE | ||
Protected Member Functions | |
virtual | ~OPropertySetHelper2 () |
You must call disposing before destruction. More... | |
![]() | |
void SAL_CALL | fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
This method fire events to all registered property listeners. More... | |
void SAL_CALL | setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
Set multiple properties with the handles. More... | |
virtual IPropertyArrayHelper &SAL_CALL | getInfoHelper ()=0 |
This abstract method must return the name to index table. More... | |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
Converted the value rValue and return the result in rConvertedValue and the old value in rOldValue. More... | |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
The same as setFastPropertyValue; nHandle is always valid. More... | |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
The same as getFastPropertyValue, but return the value through rValue and nHandle is always valid. More... | |
void | setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value) |
sets an dependent property's value More... | |
~OPropertySetHelper () | |
You must call disposing before destruction. More... | |
Private Member Functions | |
OPropertySetHelper2 (const OPropertySetHelper2 &) SAL_DELETED_FUNCTION | |
OPropertySetHelper2 & | operator= (const OPropertySetHelper2 &) SAL_DELETED_FUNCTION |
Additional Inherited Members | |
![]() | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
The property sequence is created in the call. More... | |
![]() | |
OBroadcastHelper & | rBHelper |
The common data of a broadcaster. More... | |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
Container for the XPropertyChangedListener. More... | |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Container for the XPropertyVetoableListener. More... | |
Impl *const | m_pReserved |
reserved for future use. More... | |
OPropertySetHelper plus XPropertySetOption.
The getTypes() inherited from OPropertysetHelper does not cover XPropertySetOption.
Definition at line 684 of file propshlp.hxx.
|
explicit |
Constructor.
See OPropertySetHelper constructors documentation
Definition at line 187 of file propshlp.cxx.
|
private |
|
protectedvirtual |
You must call disposing before destruction.
Definition at line 202 of file propshlp.cxx.
Definition at line 960 of file propshlp.cxx.
References cppu::OPropertySetHelper::Impl::m_bFireEvents, and cppu::OPropertySetHelper::m_pReserved.
|
private |
|
virtual |
Only returns a reference to XMultiPropertySet, XFastPropertySet, XPropertySet and XEventListener.
Reimplemented from cppu::OPropertySetHelper.
Definition at line 216 of file propshlp.cxx.
References Any, cppu::queryInterface(), and cppu::OPropertySetHelper::queryInterface().