ooodev.adapter.uno.interface_partial module

class ooodev.adapter.uno.interface_partial.InterfacePartial(component, interface=com.sun.star.uno.XInterface)[source]

Bases: object

Partial Class for XUIConfiguration.

Parameters:
  • component (XInterface) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.uno.XInterface)[source]

Constructor

Parameters:
  • component (XInterface) – UNO Component that implements com.sun.star.uno.XInterface.

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

Return type:

None

query_interface(aType)[source]
Return type:

Any

Parameters:

aType (Any) –

release()[source]

decreases the reference counter by one.

When the reference counter reaches 0, the object gets deleted.

Calling release() on the object is often called releasing or clearing the reference to an object.

Return type:

None

ooodev.adapter.uno.interface_partial.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder