ooodev.adapter.beans.fast_property_set_t module

protocol ooodev.adapter.beans.fast_property_set_t.FastPropertySetT[source]

Bases: Protocol

Protocol class for XFastPropertySet.

Classes that implement this protocol must have the following methods / attributes:

__init__(*args, **kwargs)
getFastPropertyValue(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

setFastPropertyValue(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