ooodev.adapter.beans.fast_property_set_partial module
- class ooodev.adapter.beans.fast_property_set_partial.FastPropertySetPartial(component, interface=com.sun.star.beans.XFastPropertySet)[source]
Bases:
object
Partial class for XFastPropertySet.
- Parameters:
component (XFastPropertySet) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.beans.XFastPropertySet)[source]
Constructor
- Parameters:
component (XFastPropertySet) – UNO Component that implements
com.sun.star.beans.XFastPropertySet
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XFastPropertySet
.
- Return type:
None
- get_fast_property_value(handle)[source]
returns the value of the property with the specified name.
- Parameters:
handle (int) – The implementation handle of the implementation for the property.
- Raises:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
Any
- set_fast_property_value(handle, value)[source]
Sets the value to the property with the specified name.
- Parameters:
handle (int) – The implementation handle of the implementation for the property.
value (Any) – The new value for the property.
- Raises:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.beans.PropertyVetoException –
PropertyVetoException
com.sun.star.lang.IllegalArgumentException –
IllegalArgumentException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
None