21#include <rtl/ustring.hxx>
32#define ADDONMENU_ITEMID_START 2000
33#define ADDONMENU_ITEMID_END 3000
44 static bool IsCorrectContext(std::u16string_view rModuleIdentifier, std::u16string_view rContext);
50 static void MergeAddonHelpMenu(
const css::uno::Reference< css::frame::XFrame >& rFrame,
51 MenuBar const * pMergeMenuBar );
55 sal_uInt16 nMergeAtPos,
64 sal_uInt16& nUniqueMenuId,
65 const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > >& aAddonMenuDefinition,
66 const css::uno::Reference< css::frame::XFrame >& rFrame,
67 const OUString& rModuleIdentifier );
70 static void GetMenuEntry(
const css::uno::Sequence< css::beans::PropertyValue >& rAddonMenuEntry,
75 css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > >& rAddonSubMenu );