10#ifndef INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
11#define INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
14#include <rtl/ustring.hxx>
47 static bool IsActive(
bool bConsiderSingleToolbar =
false);
50 static void ExecMethod(
SfxBindings& rBindings,
const OUString& rUIName);
53 static bool StateMethod(
SfxBindings& rBindings, std::u16string_view rUIFile,
54 bool bReloadNotebookbar =
false);
56 const css::uno::Reference<css::frame::XFrame>& xFrame,
57 std::u16string_view rUIFile,
bool bReloadNotebookbar =
false);
60 static void LockNotebookBar();
62 static void UnlockNotebookBar();
64 static void RemoveListeners(
SystemWindow const* pSysWindow);
67 static void ShowMenubar(
bool bShow);
69 static void ShowMenubar(
SfxViewFrame const* pViewFrame,
bool bShow);
70 static void ToggleMenubar();
71 static void ReloadNotebookBar(std::u16string_view sUIPath);
77 static std::map<const SfxViewShell*, std::shared_ptr<WeldedTabbedNotebookbar>>
One SfxViewShell more or less represents one edit window for a document, there can be multiple ones f...
Helpers for easier access to NotebookBar via the sfx2 infrastructure.
DECL_DLLPRIVATE_STATIC_LINK(SfxNotebookBar, VclDisposeHdl, const SfxViewShell *, void)
static bool StateMethod(SystemWindow *pSysWindow, const css::uno::Reference< css::frame::XFrame > &xFrame, std::u16string_view rUIFile, bool bReloadNotebookbar=false)
static std::map< const SfxViewShell *, std::shared_ptr< WeldedTabbedNotebookbar > > m_pNotebookBarWeldedWrapper