ooodev.adapter.frame.module_manager2_partial module

class ooodev.adapter.frame.module_manager2_partial.ModuleManager2Partial(component, interface=com.sun.star.frame.XModuleManager2)[source]

Bases: ModuleManagerPartial, NameReplacePartial[Any]

Partial class for XModuleManager2.

__init__(component, interface=com.sun.star.frame.XModuleManager2)[source]

Constructor

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

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

Return type:

None

ooodev.adapter.frame.module_manager2_partial.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder