LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides access to multiple iformation of a set of properties with a single call. More...
import"XTolerantMultiPropertySet.idl";
Public Member Functions | |
sequence< com::sun::star::beans::SetPropertyTolerantFailed > | setPropertyValuesTolerant ([in] sequence< string > aPropertyNames, [in] sequence< any > aValues) raises ( com::sun::star::lang::IllegalArgumentException ) |
sets the values to the properties with the specified names. More... | |
sequence< com::sun::star::beans::GetPropertyTolerantResult > | getPropertyValuesTolerant ([in] sequence< string > aPropertyNames) |
retrieve the values of the specified properties More... | |
sequence< com::sun::star::beans::GetDirectPropertyTolerantResult > | getDirectPropertyValuesTolerant ([in] sequence< string > aPropertyNames) |
retrieve only those values of the specified properties which are direct values. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides access to multiple iformation of a set of properties with a single call.
The speciality of this interface is that none of the functions will throw the usual exceptions associated with setting and retrieving of property values. Instead the data for the failures is collected and returned.
Note: There is no support for property change listeners in this interface.
sequence< com::sun::star::beans::GetDirectPropertyTolerantResult > getDirectPropertyValuesTolerant | ( | [in] sequence< string > | aPropertyNames | ) |
retrieve only those values of the specified properties which are direct values.
Since the count of returned elements may be different from the number of supplied property names the returned elements will also state the name of the property.
aPropertyNames | specifies the names of the properties. The property names must be sorted ascending. |
If the names are not sorted the behaviour of the method is undefined!
sequence< com::sun::star::beans::GetPropertyTolerantResult > getPropertyValuesTolerant | ( | [in] sequence< string > | aPropertyNames | ) |
retrieve the values of the specified properties
The count and order of the values in the returned sequence will be the same as the order of the names in the argument.
aPropertyNames | specifies the names of the properties. The property names must be sorted ascending. |
If the names are not sorted the behaviour of the method is undefined!
sequence< com::sun::star::beans::SetPropertyTolerantFailed > setPropertyValuesTolerant | ( | [in] sequence< string > | aPropertyNames, |
[in] sequence< any > | aValues | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
sets the values to the properties with the specified names.
aPropertyNames | specifies the names of the properties. The property names must be sorted ascending. |
If the names are not sorted the behaviour of the method is undefined!
aValues | specifies the values of the properties. The order of the values has to be the same as in the aPropertyNames parameter int order to match the property name with its value. |
Otherwise for every property value that could not successfully be set an entry of the com::sun::star::beans::SetPropertyTolerantFailed will be present in this sequence. The order of the properties is also alphabetically ascending.
IllegalArgumentException | if the number of property names and values do not match. |