Class MenuLookupKind

class ooodev.utils.kind.menu_lookup_kind.MenuLookupKind(value)[source]

Represents DataSequenceRole

static from_str(s)[source]

Gets an MenuLookupKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name. s is case insensitive and can be CamelCase, pascal_case , snake_case, hyphen-case, normal case.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get MenuLookupKind instance.

Returns:

Enum instance.

Return type:

MenuLookupKind

static get_dict(lower_keys=False)[source]

Get MenuLookupKind Enum as dictionary

Returns:

Enum as dictionary

Return type:

dict[str, str]

Parameters:

lower_keys (bool) –

DATA = '.uno:DataMenu'
EDIT = '.uno:EditMenu'
FILE = '.uno:PickList'
FORMAT = '.uno:FormatMenu'
FORMAT_FORM = '.uno:FormatFormMenu'
FORMAT_STYLES = '.uno:FormatStylesMenu'
HELP = '.uno:HelpMenu'
INSERT = '.uno:InsertMenu'
PAGE = '.uno:PageMenu'
PICK_LIST = '.uno:PickList'
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'