LibreOffice Module framework (master) 1
Classes | Namespaces | Typedefs | Enumerations | Functions
menubarmerger.hxx File Reference
#include <com/sun/star/beans/PropertyValue.hpp>
#include <rtl/ustring.hxx>
#include <vcl/menu.hxx>
#include <string_view>
#include <vector>
Include dependency graph for menubarmerger.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  framework::AddonMenuItem
 
struct  framework::ReferencePathInfo
 

Namespaces

namespace  framework
 
namespace  framework::MenuBarMerger
 

Typedefs

typedef ::std::vector< AddonMenuItem > framework::AddonMenuContainer
 

Enumerations

enum  framework::RPResultInfo {
  framework::RP_OK ,
  framework::RP_POPUPMENU_NOT_FOUND ,
  framework::RP_MENUITEM_NOT_FOUND ,
  framework::RP_MENUITEM_INSTEAD_OF_POPUPMENU_FOUND
}
 

Functions

bool framework::MenuBarMerger::IsCorrectContext (std::u16string_view aContext, std::u16string_view aModuleIdentifier)
 Check whether a module identifier is part of a context defined by a colon separated list of module identifier. More...
 
void framework::MenuBarMerger::RetrieveReferencePath (std::u16string_view, std::vector< OUString > &aReferencePath)
 
ReferencePathInfo framework::MenuBarMerger::FindReferencePath (const std::vector< OUString > &aReferencePath, Menu *pMenu)
 
sal_uInt16 framework::MenuBarMerger::FindMenuItem (std::u16string_view rCmd, Menu const *pMenu)
 
void framework::MenuBarMerger::GetMenuEntry (const css::uno::Sequence< css::beans::PropertyValue > &rAddonMenuEntry, AddonMenuItem &aAddonMenu)
 
void framework::MenuBarMerger::GetSubMenu (const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &rSubMenuEntries, AddonMenuContainer &rSubMenu)
 
bool framework::MenuBarMerger::ProcessMergeOperation (Menu *pMenu, sal_uInt16 nPos, sal_uInt16 &rItemId, std::u16string_view rMergeCommand, std::u16string_view rMergeCommandParameter, const OUString &rModuleIdentifier, const AddonMenuContainer &rAddonMenuItems)
 
bool framework::MenuBarMerger::ProcessFallbackOperation (const ReferencePathInfo &aRefPathInfo, sal_uInt16 &rItemId, std::u16string_view rMergeCommand, std::u16string_view rMergeFallback, const ::std::vector< OUString > &rReferencePath, std::u16string_view rModuleIdentifier, const AddonMenuContainer &rAddonMenuItems)
 
bool framework::MenuBarMerger::MergeMenuItems (Menu *pMenu, sal_uInt16 nPos, sal_uInt16 nModIndex, sal_uInt16 &rItemId, const OUString &rModuleIdentifier, const AddonMenuContainer &rAddonMenuItems)
 
bool framework::MenuBarMerger::ReplaceMenuItem (Menu *pMenu, sal_uInt16 nPos, sal_uInt16 &rItemId, const OUString &rModuleIdentifier, const AddonMenuContainer &rAddonMenuItems)
 
bool framework::MenuBarMerger::RemoveMenuItems (Menu *pMenu, sal_uInt16 nPos, std::u16string_view rMergeCommandParameter)
 
bool framework::MenuBarMerger::CreateSubMenu (Menu *pSubMenu, sal_uInt16 &nItemId, const OUString &rModuleIdentifier, const AddonMenuContainer &rAddonSubMenu)