LibreOffice Module framework (master) 1
Static Public Member Functions | List of all members
framework::AddonMenuManager Class Reference

#include <addonmenu.hxx>

Static Public Member Functions

static bool HasAddonMenuElements ()
 
static bool IsCorrectContext (std::u16string_view rModuleIdentifier, std::u16string_view rContext)
 
static VclPtr< PopupMenuCreateAddonMenu (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)
 

Detailed Description

Definition at line 38 of file addonmenu.hxx.

Member Function Documentation

◆ BuildMenu()

void framework::AddonMenuManager::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

◆ CreateAddonMenu()

VclPtr< PopupMenu > framework::AddonMenuManager::CreateAddonMenu ( const css::uno::Reference< css::frame::XFrame > &  rFrame)
static

◆ GetMenuEntry()

void framework::AddonMenuManager::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 
)
static

◆ GetNextPos()

sal_uInt16 framework::AddonMenuManager::GetNextPos ( sal_uInt16  nPos)
static

Definition at line 68 of file addonmenu.cxx.

References MENU_APPEND, and nPos.

◆ HasAddonMenuElements()

bool framework::AddonMenuManager::HasAddonMenuElements ( )
static

Definition at line 38 of file addonmenu.cxx.

Referenced by framework::MenuBarManager::FillMenuManager().

◆ IsCorrectContext()

bool framework::AddonMenuManager::IsCorrectContext ( std::u16string_view  rModuleIdentifier,
std::u16string_view  rContext 
)
static

Definition at line 284 of file addonmenu.cxx.

◆ MergeAddonHelpMenu()

void framework::AddonMenuManager::MergeAddonHelpMenu ( const css::uno::Reference< css::frame::XFrame > &  rFrame,
MenuBar const *  pMergeMenuBar 
)
static

◆ MergeAddonPopupMenus()

void framework::AddonMenuManager::MergeAddonPopupMenus ( const css::uno::Reference< css::frame::XFrame > &  rFrame,
sal_uInt16  nMergeAtPos,
MenuBar pMergeMenuBar 
)
static

The documentation for this class was generated from the following files: