ooodev.adapter.frame.module_manager_comp module

class ooodev.adapter.frame.module_manager_comp.ModuleManagerComp(component)[source]

Bases: ComponentProp, ModuleManager2Partial

Class for managing ModuleManager Component.

__init__(component)[source]

Constructor

Parameters:

component (XModuleManager2) – UNO Component that implements com.sun.star.frame.ModuleManager service.

Return type:

None

classmethod from_lo(lo_inst=None)[source]

Creates a new a instance from Lo.

Parameters:

lo_inst (LoInst, optional) – LoInst, Defaults to Lo.current_lo.

Returns:

The new instance.

Return type:

ModuleManager

property component: com.sun.star.frame.ModuleManager

ModuleManager Component

Return type:

ModuleManager

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

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder