Overview | Namespace | Class | Index | Help |
OBroadcastHelper & | rBHelper ) throw(); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
rBHelper | this structure contains the basic members of a broadcaster. The lifetime must be longer than the lifetime of this object. Stored in the variable rBHelper. |
OBroadcastHelper & | rBHelper, |
bool | bIgnoreRuntimeExceptionsWhileFiring ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
Constructor.
rBHelper | this structure contains the basic members of a broadcaster. The lifetime must be longer than the lifetime of this object. Stored in the variable rBHelper. |
bIgnoreRuntimeExceptionsWhileFiring | indicates whether occuring RuntimeExceptions will be ignored when firing notifications (vetoableChange((), propertyChange()) to listeners. PropertyVetoExceptions may still be thrown. This flag is useful in a inter-process scenarios when remote bridges may break down (firing DisposedExceptions). |
OBroadcastHelper & | rBHelper, |
IEventNotificationHook * | i_pFireEvents, |
bool | bIgnoreRuntimeExceptionsWhileFiring = false ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
Constructor.
rBHelper | this structure contains the basic members of a broadcaster. The lifetime must be longer than the lifetime of this object. Stored in the variable rBHelper. |
i_pFireEvents | additional event notifier |
bIgnoreRuntimeExceptionsWhileFiring | indicates whether occuring RuntimeExceptions will be ignored when firing notifications (vetoableChange((), propertyChange()) to listeners. PropertyVetoExceptions may still be thrown. This flag is useful in a inter-process scenarios when remote bridges may break down (firing DisposedExceptions). |
const ::com::sun::star::uno::Type & | rType ) |
throw( ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
Only returns a reference to XMultiPropertySet, XFastPropertySet, XPropertySet and XEventListener.
throw( ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
eases implementing XTypeProvider::getTypes, returns the types of XMultiPropertySet, XFastPropertySet, XPropertySet
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
Send a disposing notification to the listeners in the conatiners aBoundLC and aVetoableLC.
const ::rtl::OUString & | rPropertyName, |
const ::com::sun::star::uno::Any & | aValue ) |
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 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Throw UnknownPropertyException or PropertyVetoException if the property with the name rPropertyName does not exist or is readonly. Otherwise rPropertyName is changed to its handle value and setFastPropertyValue is called.
const ::rtl::OUString & | aPropertyName ) |
throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Throw UnknownPropertyException if the property with the name rPropertyName does not exist.
const ::rtl::OUString & | aPropertyName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > & | aListener ) |
throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Ignored if the property is not bound.
const ::rtl::OUString & | aPropertyName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > & | aListener ) |
throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Ignored if the property is not bound.
const ::rtl::OUString & | aPropertyName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > & | aListener ) |
throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Ignored if the property is not constrained.
const ::rtl::OUString & | aPropertyName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > & | aListener ) |
throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Ignored if the property is not constrained.
sal_Int32 | nHandle, |
const ::com::sun::star::uno::Any & | rValue ) |
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 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
Throw UnknownPropertyException or PropertyVetoException if the property with the name rPropertyName does not exist or is readonly. Otherwise the method convertFastPropertyValue is called, then the vetoable listeners are notified. After this the value of the property is changed with the setFastPropertyValue_NoBroadcast method and the bound listeners are notified.
sal_Int32 | nHandle ) |
throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & | PropertyNames, |
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > & | Values ) |
throw( ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & | PropertyNames ) |
throw( ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & | PropertyNames, |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener > & | Listener ) |
throw( ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener > & | Listener ) |
throw( ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & | PropertyNames, |
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener > & | Listener ) |
throw( ::com::sun::star::uno::RuntimeException ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | NO | NO | NO | NO | NO | NO | NO |
sal_Int32 * | pnHandles, |
const ::com::sun::star::uno::Any * | pNewValues, |
const ::com::sun::star::uno::Any * | pOldValues, |
sal_Int32 | nCount, |
sal_Bool | bVetoable ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
This method fire events to all registered property listeners.
pnHandles | the id's of the properties that changed. |
pNewValues | the new values of the properties. |
pOldValues | the old values of the properties. |
nCount | the number of elements in the arrays pnHandles, pNewValues and pOldValues. |
bVetoable | true means fire to VetoableChangeListener, false means fire to XPropertyChangedListener and XMultiPropertyChangedListener. |
sal_Int32 | nSeqLen, |
sal_Int32 * | pHandles, |
const ::com::sun::star::uno::Any * | pValues, |
sal_Int32 | nHitCount ) |
throw( ::com::sun::star::uno::Exception ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
Set multiple properties with the handles.
nSeqLen | the length of the arrays pHandles and Values. |
pHandles | the handles of the properties. The number of elements in the Values sequence is the length of the handle array. A value of -1 of a handle means invalid property. These are ignored. |
pValues | the values of the properties. |
nHitCount | the number of valid entries in the handle array. |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | YES | NO | NO | NO | NO | NO | NO |
This abstract method must return the name to index table. This table contains all property names and types of this object. The method is not implemented in this class.
::com::sun::star::uno::Any & | rConvertedValue, |
::com::sun::star::uno::Any & | rOldValue, |
sal_Int32 | nHandle, |
const ::com::sun::star::uno::Any & | rValue ) |
throw( ::com::sun::star::lang::IllegalArgumentException ) = 0; |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | YES | NO | NO | NO | NO | NO | NO |
Converted the value rValue and return the result in rConvertedValue and the old value in rOldValue. A IllegalArgumentException is thrown. The method is not implemented in this class. After this call the vetoable listeners are notified.
rConvertedValue | the converted value. Only set if return is true. |
rOldValue | the old value. Only set if return is true. |
nHandle | the handle of the proberty. |
true if the value converted.
sal_Int32 | nHandle, |
const ::com::sun::star::uno::Any & | rValue ) |
throw( ::com::sun::star::uno::Exception ) = 0; |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | YES | NO | NO | NO | NO | NO | NO |
The same as setFastProperyValue; nHandle is always valid. The changes must not be broadcasted in this method. The method is implemented in a derived class.
Although you are permitted to throw any UNO exception, only the following are valid for usage: -- ::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
nHandle | handle |
rValue | value |
::com::sun::star::uno::Any & | rValue, |
sal_Int32 | nHandle ) const = 0; |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
YES | YES | YES | NO | NO | NO | NO | NO |
The same as getFastProperyValue, but return the value through rValue and nHandle is always valid. The method is not implemented in this class.
const OPropertySetHelper & | ) throw(); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
const OPropertySetHelper & | ) throw(); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | NO |
You must call disposing before destruction.
IPropertyArrayHelper & | rProperties ) throw(); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | YES | NO | NO |
The property sequence is created in the call. The interface isn't used after the call.
Copyright © 2010 Sun Microsystems, Inc.