ooodev.adapter.reflection.the_type_description_manager_comp module

class ooodev.adapter.reflection.the_type_description_manager_comp.TheTypeDescriptionManagerComp(component)[source]

Bases: ComponentProp, WeakPartial, ComponentPartial, TypeProviderPartial, ServiceInfoPartial, HierarchicalNameAccessPartial[Any], SetPartial, TypeDescriptionEnumerationAccessPartial

Class for managing theTypeDescriptionManager Component.

__init__(component)[source]

Constructor

Parameters:

component (TypeDescriptionManager) – UNO Component that implements com.sun.star.reflection.TypeDescriptionManager service.

Return type:

None

classmethod from_lo(lo_inst=None)[source]

Get the singleton instance from the Lo.

Parameters:

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

Returns:

The instance.

Return type:

TheTypeDescriptionManagerComp

property component: com.sun.star.reflection.TypeDescriptionManager

TypeDescriptionManager Component

Return type:

TypeDescriptionManager

ooodev.adapter.reflection.the_type_description_manager_comp.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder