ooodev.adapter.beans.property_set_info_partial module

class ooodev.adapter.beans.property_set_info_partial.PropertySetInfoPartial(component, interface=com.sun.star.beans.XPropertySetInfo)[source]

Bases: object

Partial class for XPropertySetInfo.

Parameters:
  • component (XPropertySetInfo) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_properties()[source]

Gets all properties of the object.

Return type:

Tuple[Property, ...]

get_property_by_name(name)[source]

Gets the property with the specified name.

Raises:

com.sun.star.beans.UnknownPropertyExceptionUnknownPropertyException

Return type:

Property

Parameters:

name (str) –

has_property_by_name(name)[source]

Gets if the object has a property with the specified name.

Return type:

bool

Parameters:

name (str) –

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

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder