LibreOffice Module sfx2 (master) 1
Functions | Variables
SfxNotebookBar.cxx File Reference
#include <sfx2/bindings.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/notebookbar/SfxNotebookBar.hxx>
#include <vcl/notebookbar/notebookbar.hxx>
#include <vcl/syswin.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/sfxsids.hrc>
#include <comphelper/processfactory.hxx>
#include <comphelper/lok.hxx>
#include <com/sun/star/frame/UnknownModuleException.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <officecfg/Office/UI/ToolbarMode.hxx>
#include <com/sun/star/frame/XModuleManager.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <unotools/confignode.hxx>
#include <comphelper/types.hxx>
#include <framework/addonsoptions.hxx>
#include <vcl/notebookbar/NotebookBarAddonsMerger.hxx>
#include <vector>
#include <map>
#include <vcl/WeldedTabbedNotebookbar.hxx>
Include dependency graph for SfxNotebookBar.cxx:

Go to the source code of this file.

Functions

static void NotebookbarAddonValues (std::vector< Image > &aImageValues, std::vector< css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > > &aExtensionValues)
 
static Reference< frame::XLayoutManager > lcl_getLayoutManager (const Reference< frame::XFrame > &xFrame)
 
static OUString lcl_getAppName (vcl::EnumContext::Application eApp)
 
static void lcl_setNotebookbarFileName (vcl::EnumContext::Application eApp, const OUString &sFileName)
 
static OUString lcl_getNotebookbarFileName (vcl::EnumContext::Application eApp)
 
static utl::OConfigurationTreeRoot lcl_getCurrentImplConfigRoot ()
 
static utl::OConfigurationNode lcl_getCurrentImplConfigNode (const Reference< css::frame::XFrame > &xFrame, utl::OConfigurationTreeRoot const &rNotebookbarNode)
 
 IMPL_STATIC_LINK (SfxNotebookBar, VclDisposeHdl, const SfxViewShell *, pViewShell, void)
 

Variables

constexpr OUStringLiteral MENUBAR_STR = u"private:resource/menubar/menubar"
 
const char MERGE_NOTEBOOKBAR_URL [] = "URL"
 

Function Documentation

◆ IMPL_STATIC_LINK()

IMPL_STATIC_LINK ( SfxNotebookBar  ,
VclDisposeHdl  ,
const SfxViewShell ,
pViewShell  ,
void   
)

Definition at line 553 of file SfxNotebookBar.cxx.

◆ lcl_getAppName()

static OUString lcl_getAppName ( vcl::EnumContext::Application  eApp)
static

◆ lcl_getCurrentImplConfigNode()

static utl::OConfigurationNode lcl_getCurrentImplConfigNode ( const Reference< css::frame::XFrame > &  xFrame,
utl::OConfigurationTreeRoot const &  rNotebookbarNode 
)
static

◆ lcl_getCurrentImplConfigRoot()

static utl::OConfigurationTreeRoot lcl_getCurrentImplConfigRoot ( )
static

Definition at line 157 of file SfxNotebookBar.cxx.

Referenced by sfx2::SfxNotebookBar::ToggleMenubar().

◆ lcl_getLayoutManager()

static Reference< frame::XLayoutManager > lcl_getLayoutManager ( const Reference< frame::XFrame > &  xFrame)
static

Definition at line 77 of file SfxNotebookBar.cxx.

References Any, and xFrame.

Referenced by sfx2::SfxNotebookBar::ShowMenubar(), and sfx2::SfxNotebookBar::ToggleMenubar().

◆ lcl_getNotebookbarFileName()

static OUString lcl_getNotebookbarFileName ( vcl::EnumContext::Application  eApp)
static

◆ lcl_setNotebookbarFileName()

static void lcl_setNotebookbarFileName ( vcl::EnumContext::Application  eApp,
const OUString &  sFileName 
)
static

◆ NotebookbarAddonValues()

static void NotebookbarAddonValues ( std::vector< Image > &  aImageValues,
std::vector< css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > > &  aExtensionValues 
)
static

Definition at line 47 of file SfxNotebookBar.cxx.

References MERGE_NOTEBOOKBAR_URL.

Variable Documentation

◆ MENUBAR_STR

constexpr OUStringLiteral MENUBAR_STR = u"private:resource/menubar/menubar"
constexpr

◆ MERGE_NOTEBOOKBAR_URL

const char MERGE_NOTEBOOKBAR_URL[] = "URL"

Definition at line 41 of file SfxNotebookBar.cxx.

Referenced by NotebookbarAddonValues().