ooodev.adapter.frame.the_global_event_broadcaster_comp module

class ooodev.adapter.frame.the_global_event_broadcaster_comp.TheGlobalEventBroadcasterComp(component)[source]

Bases: ComponentBase, EventsSupplierPartial, DocumentEventBroadcasterPartial, SetPartial, DocumentEventEvents

Class for managing theGlobalEventBroadcaster Component.

__init__(component)[source]

Constructor

Parameters:

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

Return type:

None

document_event_occured(event)[source]

Event is invoked when a document event occurred

Return type:

None

Parameters:

event (com.sun.star.document.DocumentEvent) –

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:

TheGlobalEventBroadcasterComp

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

theGlobalEventBroadcaster Component

Return type:

theGlobalEventBroadcaster