ooodev.adapter.ui.context_menu_execute_event_comp module

class ooodev.adapter.ui.context_menu_execute_event_comp.ContextMenuExecuteEventComp(component)[source]

Bases: ComponentProp

Class for managing ContextMenuExecuteEvent Component.

Parameters:

component (ContextMenuExecuteEvent) –

__init__(component)[source]

Constructor

Parameters:

component (ContextMenuExecuteEvent) – UNO ContextMenuExecuteEvent Component that supports com.sun.star.ui.ContextMenuExecuteEvent service.

Return type:

None

property action_trigger_container: ActionTriggerContainerComp

ActionTriggerContainer Component

Return type:

ActionTriggerContainerComp

property component: com.sun.star.ui.ContextMenuExecuteEvent

ContextMenuExecuteEvent Component

Return type:

ContextMenuExecuteEvent

property execution_position: com.sun.star.awt.Point

XTextRange Component

Return type:

Point

property selection: SelectionSupplierComp

SelectionSupplier Component

Return type:

SelectionSupplierComp

property source_window: WindowComp

Window Component

Return type:

WindowComp

ooodev.adapter.ui.context_menu_execute_event_comp.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder