Class MenuApp

class ooodev.gui.menu.MenuApp(app, lo_inst=None)[source]

Class for manager menu by LibreOffice module.

Parameters:
__init__(app, lo_inst=None)[source]

Constructor

Parameters:
  • app (str | Service) – LibreOffice Module: calc, writer, draw, impress, math, main

  • lo_inst (LoInst | None, optional) – LibreOffice instance. Defaults to None.

MENUS = {'DATA': '.uno:DataMenu', 'EDIT': '.uno:EditMenu', 'FILE': '.uno:PickList', 'FORMAT': '.uno:FormatMenu', 'FORMAT_FORM': '.uno:FormatFormMenu', 'HELP': '.uno:HelpMenu', 'INSERT': '.uno:InsertMenu', 'PAGE': '.uno:PageMenu', 'SHAPE': '.uno:ShapeMenu', 'SHEET': '.uno:SheetMenu', 'SLIDE': '.uno:SlideMenu', 'SLIDESHOW': '.uno:SlideShowMenu', 'STYLES': '.uno:FormatStylesMenu', 'TABLE': '.uno:TableMenu', 'TOOLS': '.uno:ToolsMenu', 'VIEW': '.uno:ViewMenu', 'WINDOW': '.uno:WindowList'}
NODE = 'private:resource/menubar/menubar'