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:
- property component: com.sun.star.frame.theGlobalEventBroadcaster
theGlobalEventBroadcaster Component
- Return type:
theGlobalEventBroadcaster