LibreOffice Module vcl (master) 1
|
#include <sal/config.h>
#include <cstddef>
#include <vcl/notebookbar/NotebookBarAddonsMerger.hxx>
#include <vcl/commandinfoprovider.hxx>
#include <vcl/menu.hxx>
#include <vcl/vclenum.hxx>
#include <vcl/toolbox.hxx>
#include <IPrioritable.hxx>
#include <OptionalBox.hxx>
Go to the source code of this file.
Namespaces | |
namespace | NotebookBarAddonsMerger |
Functions | |
static void | GetAddonNotebookBarItem (const css::uno::Sequence< css::beans::PropertyValue > &pExtension, AddonNotebookBarItem &aAddonNotebookBarItem) |
static void | CreateNotebookBarToolBox (vcl::Window *pNotebookbarToolBox, const css::uno::Reference< css::frame::XFrame > &m_xFrame, const AddonNotebookBarItem &aAddonNotebookBarItem, const std::vector< Image > &aImageVec, const tools::ULong nIter) |
void | NotebookBarAddonsMerger::MergeNotebookBarAddons (vcl::Window *pParent, const VclBuilder::customMakeWidget &pFunction, const css::uno::Reference< css::frame::XFrame > &m_xFrame, const NotebookBarAddonsItem &aNotebookBarAddonsItem, VclBuilder::stringmap &rMap) |
void | NotebookBarAddonsMerger::MergeNotebookBarMenuAddons (Menu *pPopupMenu, sal_Int16 nItemId, const OUString &sItemIdName, NotebookBarAddonsItem &aNotebookBarAddonsItem) |
Variables | |
const char | STYLE_TEXT [] = "Text" |
const char | STYLE_ICON [] = "Icon" |
const char | MERGE_NOTEBOOKBAR_URL [] = "URL" |
const char | MERGE_NOTEBOOKBAR_TITLE [] = "Title" |
const char | MERGE_NOTEBOOKBAR_CONTEXT [] = "Context" |
const char | MERGE_NOTEBOOKBAR_TARGET [] = "Target" |
const char | MERGE_NOTEBOOKBAR_CONTROLTYPE [] = "ControlType" |
const char | MERGE_NOTEBOOKBAR_WIDTH [] = "Width" |
const char | MERGE_NOTEBOOKBAR_STYLE [] = "Style" |
|
static |
Definition at line 65 of file NotebookBarAddonsMerger.cxx.
References vcl::CommandInfoProvider::GetImageForCommand(), ToolBox::GetItemId(), ToolBox::InsertItem(), ToolBox::InsertSeparator(), m_xFrame, NONE, AddonNotebookBarItem::sCommandURL, ToolBox::SetItemImage(), ToolBox::SetItemText(), ToolBox::SetQuickHelpText(), vcl::Window::Show(), AddonNotebookBarItem::sLabel, AddonNotebookBarItem::sStyle, STYLE_ICON, and STYLE_TEXT.
Referenced by NotebookBarAddonsMerger::MergeNotebookBarAddons().
|
static |
Definition at line 43 of file NotebookBarAddonsMerger.cxx.
References i, MERGE_NOTEBOOKBAR_CONTEXT, MERGE_NOTEBOOKBAR_CONTROLTYPE, MERGE_NOTEBOOKBAR_STYLE, MERGE_NOTEBOOKBAR_TARGET, MERGE_NOTEBOOKBAR_TITLE, MERGE_NOTEBOOKBAR_URL, MERGE_NOTEBOOKBAR_WIDTH, AddonNotebookBarItem::nWidth, AddonNotebookBarItem::sCommandURL, AddonNotebookBarItem::sContext, AddonNotebookBarItem::sControlType, AddonNotebookBarItem::sLabel, AddonNotebookBarItem::sStyle, and AddonNotebookBarItem::sTarget.
Referenced by NotebookBarAddonsMerger::MergeNotebookBarAddons(), and NotebookBarAddonsMerger::MergeNotebookBarMenuAddons().
const char MERGE_NOTEBOOKBAR_CONTEXT[] = "Context" |
Definition at line 37 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char MERGE_NOTEBOOKBAR_CONTROLTYPE[] = "ControlType" |
Definition at line 39 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char MERGE_NOTEBOOKBAR_STYLE[] = "Style" |
Definition at line 41 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char MERGE_NOTEBOOKBAR_TARGET[] = "Target" |
Definition at line 38 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char MERGE_NOTEBOOKBAR_TITLE[] = "Title" |
Definition at line 36 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char MERGE_NOTEBOOKBAR_URL[] = "URL" |
Definition at line 35 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char MERGE_NOTEBOOKBAR_WIDTH[] = "Width" |
Definition at line 40 of file NotebookBarAddonsMerger.cxx.
Referenced by GetAddonNotebookBarItem().
const char STYLE_ICON[] = "Icon" |
Definition at line 33 of file NotebookBarAddonsMerger.cxx.
Referenced by CreateNotebookBarToolBox().
const char STYLE_TEXT[] = "Text" |
Definition at line 32 of file NotebookBarAddonsMerger.cxx.
Referenced by CreateNotebookBarToolBox().