ooodev.adapter.beans.property_partial module

class ooodev.adapter.beans.property_partial.PropertyPartial(component, interface=com.sun.star.beans.XProperty)[source]

Bases: object

Partial class for XProperty.

Parameters:
  • component (XProperty) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.beans.XProperty)[source]

Constructor

Parameters:
  • component (XProperty) – UNO Component that implements com.sun.star.bean.XProperty interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XProperty.

Return type:

None

get_as_property()[source]

Gets the property.

Return type:

Property

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

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder