ooodev.adapter.frame.the_ui_command_description_comp module

class ooodev.adapter.frame.the_ui_command_description_comp.TheUICommandDescriptionComp(component)[source]

Bases: ComponentProp, NameAccessPartial[ModuleUICommandDescriptionComp]

Class for managing theUICommandDescription Component.

__init__(component)[source]

Constructor

Parameters:

component (theUICommandDescription) – UNO Component that implements com.sun.star.frame.theUICommandDescription 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:

TheUICommandDescriptionComp

get_by_name(name)[source]

Gets the element with the specified name.

Parameters:

name (str) – The name of the element.

Returns:

The element with the specified name.

Return type:

Any

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

theUICommandDescription Component

Return type:

theUICommandDescription

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

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder