Class GuiPartial
- class ooodev.utils.partial.gui_partial.GuiPartial(component, lo_inst)[source]
- Parameters:
component (Any) –
lo_inst (LoInst) –
- add_item_to_toolbar(toolbar_name, item_name, im_fnm)[source]
Add a user-defined icon and command to the start of the specified toolbar.
- Parameters:
toolbar_name (str) – toolbar name.
item_name (str) – item name.
im_fnm (str) – image file path.
- Return type:
None
- get_control_access()[source]
Get control access from office document.
- Returns:
control access.
- Return type:
XControlAccess
- get_current_controller()[source]
Gets controller from document.
- Returns:
controller.
- Return type:
XController
- get_dpi()[source]
Gets Dispatch provider interception.
- Returns:
Dispatch provider interception.
- Return type:
XDispatchProviderInterception
- get_selection()[source]
Gets selection.
- Returns:
Returns current selection or None.
- Return type:
Any
- get_selection_supplier()[source]
Gets selection supplier
- Returns:
Selection supplier
- Return type:
XSelectionSupplier
- get_top_window()[source]
Gets top window.
- Returns:
Top window or None if there is no Active Top Window.
- Return type:
XTopWindow | None
Make all the toolbars invisible.
- Return type:
None
Hides the main menu bar.
- Return type:
None
Shows the main menu bar.
- Return type:
None
Toggles the main menu bar.
- Return type:
None