Source code for ooodev.gui.menu.item.menu_items

from __future__ import annotations
from typing import cast, TYPE_CHECKING, Tuple
import uno
from com.sun.star.beans import PropertyValue
from ooodev.loader import lo as mLo
from ooodev.loader.inst.service import Service
from ooodev.adapter.container.index_access_comp import IndexAccessComp
from ooodev.utils import props as mProps
from ooodev.gui.menu.item.menu_item_sep import MenuItemSep
from ooodev.gui.menu.item.menu_item import MenuItem
from ooodev.gui.menu.item.menu_item_sub import MenuItemSub
from ooodev.utils.partial.lo_inst_props_partial import LoInstPropsPartial


if TYPE_CHECKING:
    from ooodev.gui.menu.menu import Menu
    from com.sun.star.container import XIndexAccess
    from ooodev.loader.inst.lo_inst import LoInst