|
LibreOffice
LibreOffice 4.3 SDK C/C++ API Reference
|
OPropertySetHelper plus XPropertySetOption. More...
#include <propshlp.hxx>
Public Member Functions | |||
| OPropertySetHelper2 (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents=NULL, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |||
| Constructor. More... | |||
| virtual ::com::sun::star::uno::Any | queryInterface (const ::com::sun::star::uno::Type &rType) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
| virtual void | enableChangeListenerNotification (sal_Bool bEnable) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
Public Member Functions inherited from cppu::OPropertySetHelper | |||
| OPropertySetHelper (OBroadcastHelper &rBHelper) SAL_THROW(()) | |||
| OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |||
| Constructor. More... | |||
| OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |||
| Constructor. More... | |||
| virtual ::com::sun::star::uno::Any | queryInterface (const ::com::sun::star::uno::Type &rType) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
| Only returns a reference to XMultiPropertySet, XFastPropertySet, XPropertySet and XEventListener. More... | |||
| ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Type > | getTypes () throw (::com::sun::star::uno::RuntimeException) | ||
| eases implementing XTypeProvider::getTypes, returns the types of XMultiPropertySet, XFastPropertySet, XPropertySet More... | |||
| void | disposing () SAL_THROW(()) | ||
| Send a disposing notification to the listeners in the conatiners aBoundLC and aVetoableLC. More... | |||
| virtual void | setPropertyValue (const ::rtl::OUString &rPropertyName, const ::com::sun::star::uno::Any &aValue) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Throw UnknownPropertyException or PropertyVetoException if the property with the name rPropertyName does not exist or is readonly. More... | |||
| virtual ::com::sun::star::uno::Any | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Throw UnknownPropertyException if the property with the name rPropertyName does not exist. More... | |||
| virtual void | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Ignored if the property is not bound. More... | |||
| virtual void | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Ignored if the property is not bound. More... | |||
| virtual void | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Ignored if the property is not constrained. More... | |||
| virtual void | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Ignored if the property is not constrained. More... | |||
| virtual void | setFastPropertyValue (sal_Int32 nHandle, const ::com::sun::star::uno::Any &rValue) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| Throw UnknownPropertyException or PropertyVetoException if the property with the name rPropertyName does not exist or is readonly. More... | |||
| virtual ::com::sun::star::uno::Any | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| |||
| virtual void | setPropertyValues (const ::com::sun::star::uno::Sequence< ::rtl::OUString > &PropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > &Values) SAL_OVERRIDE throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) | ||
| virtual ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Any > | getPropertyValues (const ::com::sun::star::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
| virtual void | addPropertiesChangeListener (const ::com::sun::star::uno::Sequence< ::rtl::OUString > &PropertyNames, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
| virtual void | removePropertiesChangeListener (const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
| virtual void | firePropertiesChangeEvent (const ::com::sun::star::uno::Sequence< ::rtl::OUString > &PropertyNames, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) | ||
| static::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySetInfo > | createPropertySetInfo (IPropertyArrayHelper &rProperties) SAL_THROW(()) | ||
| The property sequence is created in the call. More... | |||
Protected Member Functions | |
| virtual | ~OPropertySetHelper2 () SAL_THROW(()) |
| You must call disposing before destruction. More... | |
Protected Member Functions inherited from cppu::OPropertySetHelper | |
| void | fire (sal_Int32 *pnHandles, const ::com::sun::star::uno::Any *pNewValues, const ::com::sun::star::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
| This method fire events to all registered property listeners. More... | |
| virtual sal_Bool | convertFastPropertyValue (::com::sun::star::uno::Any &rConvertedValue,::com::sun::star::uno::Any &rOldValue, sal_Int32 nHandle, const ::com::sun::star::uno::Any &rValue)=0 throw (::com::sun::star::lang::IllegalArgumentException) |
| Converted the value rValue and return the result in rConvertedValue and the old value in rOldValue. More... | |
| virtual void | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const ::com::sun::star::uno::Any &rValue)=0 throw (::com::sun::star::uno::Exception, std::exception) |
| The same as setFastProperyValue; nHandle is always valid. More... | |
| virtual void | getFastPropertyValue (::com::sun::star::uno::Any &rValue, sal_Int32 nHandle) const =0 |
| The same as getFastProperyValue, but return the value through rValue and nHandle is always valid. More... | |
| void | setDependentFastPropertyValue (sal_Int32 i_handle, const ::com::sun::star::uno::Any &i_value) |
| sets an dependent property's value More... | |
| ~OPropertySetHelper () SAL_THROW(()) | |
| You must call disposing before destruction. More... | |
Additional Inherited Members | |
Protected Attributes inherited from cppu::OPropertySetHelper | |
| void virtual setFastPropertyValues(sal_Int32 nSeqLen, sal_Int32 *pHandles, const ::com::sun::star::uno::Any *pValues, sal_Int32 nHitCount) SAL_THROW((IPropertyArrayHelper | getInfoHelper )()=0 |
| Set multiple properties with the handles. More... | |
| OBroadcastHelper & | rBHelper |
| The common data of a broadcaster. More... | |
| OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
| Container for the XProperyChangedListener. More... | |
| OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
| Container for the XPropertyVetoableListener. More... | |
| const std::auto_ptr< Impl > | m_pReserved |
| reserved for future use. More... | |
OPropertySetHelper plus XPropertySetOption.
|
explicit |
Constructor.
See OPropertySetHelper constructors documentation
|
protectedvirtual |
You must call disposing before destruction.
|
virtual | ||||||||||||||||||
| virtual ::com::sun::star::uno::Any cppu::OPropertySetHelper2::queryInterface | ( | const ::com::sun::star::uno::Type & | rType | ) | |
| throw | ( | ::com::sun::star::uno::RuntimeException, | |||
| std::exception | |||||
| ) | |||||
1.8.8