Class GuiPartialT
- protocol ooodev.utils.partial.gui_partial_t.GuiPartialT[source]
typing.Protocol
.Classes that implement this protocol must have the following methods / attributes:
- 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_supplier()[source]
Gets selection supplier
- Returns:
Selection supplier
- Return type:
XSelectionSupplier
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