LibreOffice Module framework (master) 1
|
#include <addonmenu.hxx>
Static Public Member Functions | |
static bool | HasAddonMenuElements () |
static bool | IsCorrectContext (std::u16string_view rModuleIdentifier, std::u16string_view rContext) |
static VclPtr< PopupMenu > | CreateAddonMenu (const css::uno::Reference< css::frame::XFrame > &rFrame) |
static void | MergeAddonHelpMenu (const css::uno::Reference< css::frame::XFrame > &rFrame, MenuBar const *pMergeMenuBar) |
static void | MergeAddonPopupMenus (const css::uno::Reference< css::frame::XFrame > &rFrame, sal_uInt16 nMergeAtPos, MenuBar *pMergeMenuBar) |
static sal_uInt16 | GetNextPos (sal_uInt16 nPos) |
static void | BuildMenu (PopupMenu *pCurrentMenu, sal_uInt16 nInsPos, sal_uInt16 &nUniqueMenuId, const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &aAddonMenuDefinition, const css::uno::Reference< css::frame::XFrame > &rFrame, const OUString &rModuleIdentifier) |
static void | GetMenuEntry (const css::uno::Sequence< css::beans::PropertyValue > &rAddonMenuEntry, OUString &rTitle, OUString &rURL, OUString &rTarget, OUString &rContext, css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &rAddonSubMenu) |
Definition at line 38 of file addonmenu.hxx.
|
static |
Definition at line 187 of file addonmenu.cxx.
References aURL, VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), framework::MenuBarMerger::GetMenuEntry(), i, Menu::InsertItem(), Menu::InsertSeparator(), framework::MenuBarMerger::IsCorrectContext(), MENU_APPEND, nCount, nElements, nId, Menu::SetItemCommand(), Menu::SetPopupMenu(), and Menu::SetUserValue().
Referenced by CreateAddonMenu(), and MergeAddonHelpMenu().
|
static |
Definition at line 44 of file addonmenu.cxx.
References ADDONMENU_ITEMID_START, BuildMenu(), VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), vcl::CommandInfoProvider::GetModuleIdentifier(), and MENU_APPEND.
Referenced by framework::MenuBarManager::FillMenuManager().
|
static |
Definition at line 257 of file addonmenu.cxx.
References ADDONSMENUITEM_STRING_CONTEXT, ADDONSMENUITEM_STRING_SUBMENU, ADDONSMENUITEM_STRING_TARGET, ADDONSMENUITEM_STRING_TITLE, ADDONSMENUITEM_STRING_URL, and rTarget.
|
static |
Definition at line 68 of file addonmenu.cxx.
References MENU_APPEND, and nPos.
|
static |
Definition at line 38 of file addonmenu.cxx.
Referenced by framework::MenuBarManager::FillMenuManager().
|
static |
Definition at line 284 of file addonmenu.cxx.
|
static |
Definition at line 89 of file addonmenu.cxx.
References ADDONMENU_ITEMID_START, BuildMenu(), framework::FindMenuId(), Menu::GetItemCount(), Menu::GetItemPos(), Menu::GetItemType(), vcl::CommandInfoProvider::GetModuleIdentifier(), Menu::GetPopupMenu(), Menu::InsertSeparator(), MENU_APPEND, nId, and u.
Referenced by framework::MenuBarManager::FillMenuManager().
|
static |
Definition at line 134 of file addonmenu.cxx.
References ADDONMENU_ITEMID_START, aURL, VclPtr< class reference_type >::disposeAndClear(), framework::MenuBarMerger::GetMenuEntry(), vcl::CommandInfoProvider::GetModuleIdentifier(), Menu::InsertItem(), framework::MenuBarMerger::IsCorrectContext(), MENU_APPEND, nId, Menu::SetItemCommand(), and Menu::SetPopupMenu().
Referenced by framework::MenuBarManager::FillMenuManager().