ooodev.adapter.beans.property_access_partial module

class ooodev.adapter.beans.property_access_partial.PropertyAccessPartial(component, interface=com.sun.star.beans.XPropertyAccess)[source]

Bases: object

Partial class for XPropertyAccess.

Parameters:
  • component (XPropertyAccess) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_property_values()[source]

Gets of all property values within the object in a single call.

Returns:

The property values.

Return type:

tuple[PropertyValue, …]

set_property_values(values)[source]

Sets of all property values within the object in a single call.

All properties which are not contained in the sequence values will be left unchanged.

Parameters:

values (tuple[PropertyValue, ...]) – The property values.

Return type:

None