LibreOffice Module framework (master) 1
Namespaces | Typedefs | Functions | Variables
toolbarsmenucontroller.cxx File Reference
#include <uielement/toolbarsmenucontroller.hxx>
#include <algorithm>
#include <string_view>
#include <unordered_map>
#include <services.h>
#include <strings.hrc>
#include <classes/fwkresid.hxx>
#include <framework/sfxhelperfunctions.hxx>
#include <uiconfiguration/windowstateproperties.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/awt/MenuItemStyle.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/XUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/UIElementType.hpp>
#include <com/sun/star/ui/theWindowStateConfiguration.hpp>
#include <comphelper/propertyvalue.hxx>
#include <officecfg/Office/Common.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/commandinfoprovider.hxx>
#include <rtl/ustrbuf.hxx>
#include <toolkit/awt/vclxmenu.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/window.hxx>
#include <unotools/cmdoptions.hxx>
#include <unotools/collatorwrapper.hxx>
#include <unotools/syslocale.hxx>
#include <cppuhelper/supportsservice.hxx>
Include dependency graph for toolbarsmenucontroller.cxx:

Go to the source code of this file.

Namespaces

namespace  framework
 

Typedefs

typedef std::unordered_map< OUString, OUString > framework::ToolbarHashMap
 

Functions

static bool framework::CompareToolBarEntry (const ToolBarEntry &aOne, const ToolBarEntry &aTwo)
 
static Reference< XLayoutManager > framework::getLayoutManagerFromFrame (const Reference< XFrame > &rFrame)
 
constexpr OUStringLiteral framework::g_aPropUIName (u"UIName")
 
constexpr OUStringLiteral framework::g_aPropResourceURL (u"ResourceURL")
 
static void framework::fillHashMap (const Sequence< Sequence< css::beans::PropertyValue > > &rSeqToolBars, ToolbarHashMap &rHashMap)
 
 framework::IMPL_STATIC_LINK (ToolbarsMenuController, ExecuteHdl_Impl, void *, p, void)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * framework_ToolbarsMenuController_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Variables

constexpr OUStringLiteral CMD_RESTOREVISIBILITY = u".cmd:RestoreVisibility"
 
constexpr OUStringLiteral CMD_LOCKTOOLBARS = u".uno:ToolbarLock"
 
constexpr OUStringLiteral STATIC_CMD_PART = u".uno:AvailableToolbars?Toolbar:string="
 
const char STATIC_INTERNAL_CMD_PART [] = ".cmd:"
 

Function Documentation

◆ framework_ToolbarsMenuController_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * framework_ToolbarsMenuController_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 785 of file toolbarsmenucontroller.cxx.

Variable Documentation

◆ aCommand

OUString aCommand

◆ aToolBarResName

OUString aToolBarResName

◆ aToolBarUIName

OUString aToolBarUIName

◆ aUIName

OUString aUIName

◆ bVisible

bool bVisible

◆ CMD_LOCKTOOLBARS

constexpr OUStringLiteral CMD_LOCKTOOLBARS = u".uno:ToolbarLock"
constexpr

◆ CMD_RESTOREVISIBILITY

constexpr OUStringLiteral CMD_RESTOREVISIBILITY = u".cmd:RestoreVisibility"
constexpr

◆ pCollatorWrapper

const CollatorWrapper* pCollatorWrapper

Definition at line 87 of file toolbarsmenucontroller.cxx.

◆ STATIC_CMD_PART

constexpr OUStringLiteral STATIC_CMD_PART = u".uno:AvailableToolbars?Toolbar:string="
constexpr

◆ STATIC_INTERNAL_CMD_PART

const char STATIC_INTERNAL_CMD_PART[] = ".cmd:"