ooodev.adapter.embed.component_supplier_partial module

class ooodev.adapter.embed.component_supplier_partial.ComponentSupplierPartial(component, interface=com.sun.star.embed.XComponentSupplier)[source]

Bases: object

Partial class for XComponentSupplier.

Parameters:
  • component (XComponentSupplier) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.embed.XComponentSupplier)[source]

Constructor

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

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

Return type:

None

get_component()[source]

Allows to get access to a component.

The component may not support com.sun.star.lang.XComponent interface.

Return type:

XCloseable