|
LibreOffice Module sfx2 (master) 1
|
#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>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" |
| IMPL_STATIC_LINK | ( | SfxNotebookBar | , |
| VclDisposeHdl | , | ||
| const SfxViewShell * | , | ||
| pViewShell | , | ||
| void | |||
| ) |
Definition at line 553 of file SfxNotebookBar.cxx.
|
static |
Definition at line 95 of file SfxNotebookBar.cxx.
References vcl::EnumContext::Calc, vcl::EnumContext::Draw, vcl::EnumContext::Formula, vcl::EnumContext::Impress, and vcl::EnumContext::Writer.
Referenced by sfx2::SfxNotebookBar::IsActive(), lcl_getCurrentImplConfigNode(), and SfxApplication::MiscExec_Impl().
|
static |
Definition at line 164 of file SfxNotebookBar.cxx.
References vcl::EnumContext::GetApplicationEnum(), utl::OConfigurationNode::getNodeNames(), utl::OConfigurationNode::getNodeValue(), comphelper::getString(), utl::OConfigurationNode::isValid(), lcl_getAppName(), lcl_getNotebookbarFileName(), utl::OConfigurationNode::openNode(), and xFrame.
Referenced by sfx2::SfxNotebookBar::ToggleMenubar().
|
static |
Definition at line 157 of file SfxNotebookBar.cxx.
Referenced by sfx2::SfxNotebookBar::ToggleMenubar().
|
static |
Definition at line 77 of file SfxNotebookBar.cxx.
Referenced by sfx2::SfxNotebookBar::ShowMenubar(), and sfx2::SfxNotebookBar::ToggleMenubar().
|
static |
Definition at line 138 of file SfxNotebookBar.cxx.
References vcl::EnumContext::Calc, vcl::EnumContext::Draw, vcl::EnumContext::Impress, and vcl::EnumContext::Writer.
Referenced by lcl_getCurrentImplConfigNode().
|
static |
Definition at line 114 of file SfxNotebookBar.cxx.
References vcl::EnumContext::Calc, comphelper::ConfigurationChanges::create(), vcl::EnumContext::Draw, vcl::EnumContext::Impress, and vcl::EnumContext::Writer.
Referenced by sfx2::SfxNotebookBar::ExecMethod().
|
static |
Definition at line 47 of file SfxNotebookBar.cxx.
References MERGE_NOTEBOOKBAR_URL.
|
constexpr |
Definition at line 39 of file SfxNotebookBar.cxx.
Referenced by sfx2::SfxNotebookBar::ShowMenubar(), and sfx2::SfxNotebookBar::ToggleMenubar().
| const char MERGE_NOTEBOOKBAR_URL[] = "URL" |
Definition at line 41 of file SfxNotebookBar.cxx.
Referenced by NotebookbarAddonValues().