ooodev.adapter.lang.initialization_partial module

class ooodev.adapter.lang.initialization_partial.InitializationPartial(component, interface=com.sun.star.lang.XInitialization)[source]

Bases: object

Partial class for XInitialization.

Parameters:
  • component (XInitialization) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.lang.XInitialization)[source]

Constructor

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

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

Return type:

None

initialize(*args)[source]

Initializes the object.

It should be called directly after the object is created.

Raises:

com.sun.star.uno.ExceptionException

Return type:

None

Parameters:

args (Any) –