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.UnknownPropertyExceptionUnknownPropertyException

  • com.sun.star.lang.WrappedTargetExceptionWrappedTargetException

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.UnknownPropertyExceptionUnknownPropertyException

  • com.sun.star.beans.PropertyVetoExceptionPropertyVetoException

  • com.sun.star.lang.IllegalArgumentExceptionIllegalArgumentException

  • com.sun.star.lang.WrappedTargetExceptionWrappedTargetException

Return type:

None

ooodev.adapter.beans.fast_property_set_partial.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder