LibreOffice Module framework (master) 1
|
#include <com/sun/star/beans/PropertyValue.hpp>
#include <framework/addonsoptions.hxx>
#include <o3tl/safeint.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/configitem.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <tools/stream.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <comphelper/getexpandeduri.hxx>
#include <comphelper/processfactory.hxx>
#include <vcl/dibtools.hxx>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/svapp.hxx>
#include <algorithm>
#include <string_view>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
Classes | |
class | framework::AddonsOptions_Impl |
struct | framework::AddonsOptions_Impl::OneImageEntry |
struct | framework::AddonsOptions_Impl::ImageEntry |
Namespaces | |
namespace | framework |
Functions | |
static BitmapEx | framework::ScaleImage (const BitmapEx &rImage, bool bBig) |
framework::IMPL_LINK_NOARG (AddonsOptions_Impl, NotifyEvent, void *, void) | |
Variables | |
constexpr OUStringLiteral | ROOTNODE_ADDONMENU = u"Office.Addons" |
constexpr OUStringLiteral | PATHDELIMITER = u"/" |
constexpr OUStringLiteral | SEPARATOR_URL = u"private:separator" |
constexpr OUStringLiteral | IMAGES_NODENAME = u"UserDefinedImages" |
#define INDEX_ALIGN 8 |
Definition at line 75 of file addonsoptions.cxx.
#define INDEX_AUTOSIZE 9 |
Definition at line 76 of file addonsoptions.cxx.
#define INDEX_CONTEXT 4 |
Definition at line 71 of file addonsoptions.cxx.
#define INDEX_CONTROLTYPE 6 |
Definition at line 73 of file addonsoptions.cxx.
#define INDEX_IMAGEIDENTIFIER 2 |
Definition at line 69 of file addonsoptions.cxx.
#define INDEX_MANDATORY 11 |
Definition at line 78 of file addonsoptions.cxx.
#define INDEX_OWNERDRAW 10 |
Definition at line 77 of file addonsoptions.cxx.
#define INDEX_STYLE 12 |
Definition at line 79 of file addonsoptions.cxx.
#define INDEX_SUBMENU 5 |
Definition at line 72 of file addonsoptions.cxx.
#define INDEX_TARGET 3 |
Definition at line 70 of file addonsoptions.cxx.
#define INDEX_TITLE 1 |
Definition at line 68 of file addonsoptions.cxx.
#define INDEX_URL 0 |
Definition at line 67 of file addonsoptions.cxx.
#define INDEX_WIDTH 7 |
Definition at line 74 of file addonsoptions.cxx.
#define OFFSET_IMAGES_BIG 1 |
Definition at line 134 of file addonsoptions.cxx.
#define OFFSET_IMAGES_BIG_URL 5 |
Definition at line 138 of file addonsoptions.cxx.
#define OFFSET_IMAGES_BIGHC 3 |
Definition at line 136 of file addonsoptions.cxx.
#define OFFSET_IMAGES_BIGHC_URL 7 |
Definition at line 140 of file addonsoptions.cxx.
#define OFFSET_IMAGES_SMALL 0 |
Definition at line 133 of file addonsoptions.cxx.
#define OFFSET_IMAGES_SMALL_URL 4 |
Definition at line 137 of file addonsoptions.cxx.
#define OFFSET_IMAGES_SMALLHC 2 |
Definition at line 135 of file addonsoptions.cxx.
#define OFFSET_IMAGES_SMALLHC_URL 6 |
Definition at line 139 of file addonsoptions.cxx.
#define OFFSET_MENUITEM_CONTEXT 4 |
Definition at line 88 of file addonsoptions.cxx.
#define OFFSET_MENUITEM_IMAGEIDENTIFIER 2 |
Definition at line 86 of file addonsoptions.cxx.
#define OFFSET_MENUITEM_SUBMENU 5 |
Definition at line 89 of file addonsoptions.cxx.
#define OFFSET_MENUITEM_TARGET 3 |
Definition at line 87 of file addonsoptions.cxx.
#define OFFSET_MENUITEM_TITLE 1 |
Definition at line 85 of file addonsoptions.cxx.
#define OFFSET_MENUITEM_URL 0 |
Definition at line 84 of file addonsoptions.cxx.
#define OFFSET_MERGEMENU_MENUITEMS 5 |
Definition at line 148 of file addonsoptions.cxx.
#define OFFSET_MERGEMENU_MERGECOMMAND 1 |
Definition at line 144 of file addonsoptions.cxx.
#define OFFSET_MERGEMENU_MERGECOMMANDPARAMETER 2 |
Definition at line 145 of file addonsoptions.cxx.
#define OFFSET_MERGEMENU_MERGECONTEXT 4 |
Definition at line 147 of file addonsoptions.cxx.
#define OFFSET_MERGEMENU_MERGEFALLBACK 3 |
Definition at line 146 of file addonsoptions.cxx.
#define OFFSET_MERGEMENU_MERGEPOINT 0 |
Definition at line 143 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_MERGECOMMAND 2 |
Definition at line 162 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_MERGECOMMANDPARAMETER 3 |
Definition at line 163 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_MERGECONTEXT 5 |
Definition at line 165 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_MERGEFALLBACK 4 |
Definition at line 164 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_MERGEPOINT 1 |
Definition at line 161 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_NOTEBOOKBAR 0 |
Definition at line 160 of file addonsoptions.cxx.
#define OFFSET_MERGENOTEBOOKBAR_NOTEBOOKBARITEMS 6 |
Definition at line 166 of file addonsoptions.cxx.
#define OFFSET_MERGESTATUSBAR_MERGECOMMAND 1 |
Definition at line 170 of file addonsoptions.cxx.
#define OFFSET_MERGESTATUSBAR_MERGECOMMANDPARAMETER 2 |
Definition at line 171 of file addonsoptions.cxx.
#define OFFSET_MERGESTATUSBAR_MERGECONTEXT 4 |
Definition at line 173 of file addonsoptions.cxx.
#define OFFSET_MERGESTATUSBAR_MERGEFALLBACK 3 |
Definition at line 172 of file addonsoptions.cxx.
#define OFFSET_MERGESTATUSBAR_MERGEPOINT 0 |
Definition at line 169 of file addonsoptions.cxx.
#define OFFSET_MERGESTATUSBAR_STATUSBARITEMS 5 |
Definition at line 174 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_MERGECOMMAND 2 |
Definition at line 153 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_MERGECOMMANDPARAMETER 3 |
Definition at line 154 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_MERGECONTEXT 5 |
Definition at line 156 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_MERGEFALLBACK 4 |
Definition at line 155 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_MERGEPOINT 1 |
Definition at line 152 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_TOOLBAR 0 |
Definition at line 151 of file addonsoptions.cxx.
#define OFFSET_MERGETOOLBAR_TOOLBARITEMS 6 |
Definition at line 157 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_CONTEXT 4 |
Definition at line 114 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_CONTROLTYPE 5 |
Definition at line 115 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_IMAGEIDENTIFIER 2 |
Definition at line 112 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_STYLE 7 |
Definition at line 117 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_TARGET 3 |
Definition at line 113 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_TITLE 1 |
Definition at line 111 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_URL 0 |
Definition at line 110 of file addonsoptions.cxx.
#define OFFSET_NOTEBOOKBARITEM_WIDTH 6 |
Definition at line 116 of file addonsoptions.cxx.
#define OFFSET_POPUPMENU_CONTEXT 1 |
Definition at line 94 of file addonsoptions.cxx.
#define OFFSET_POPUPMENU_SUBMENU 2 |
Definition at line 95 of file addonsoptions.cxx.
#define OFFSET_POPUPMENU_TITLE 0 |
Definition at line 93 of file addonsoptions.cxx.
#define OFFSET_POPUPMENU_URL 3 |
Definition at line 96 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_ALIGN 3 |
Definition at line 124 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_AUTOSIZE 4 |
Definition at line 125 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_CONTEXT 2 |
Definition at line 123 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_MANDATORY 6 |
Definition at line 127 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_OWNERDRAW 5 |
Definition at line 126 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_TITLE 1 |
Definition at line 122 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_URL 0 |
Definition at line 121 of file addonsoptions.cxx.
#define OFFSET_STATUSBARITEM_WIDTH 7 |
Definition at line 128 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_CONTEXT 4 |
Definition at line 104 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_CONTROLTYPE 5 |
Definition at line 105 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_IMAGEIDENTIFIER 2 |
Definition at line 102 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_TARGET 3 |
Definition at line 103 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_TITLE 1 |
Definition at line 101 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_URL 0 |
Definition at line 100 of file addonsoptions.cxx.
#define OFFSET_TOOLBARITEM_WIDTH 6 |
Definition at line 106 of file addonsoptions.cxx.
#define PROPERTYCOUNT_EMBEDDED_IMAGES 2 |
Definition at line 132 of file addonsoptions.cxx.
#define PROPERTYCOUNT_IMAGES 8 |
Definition at line 131 of file addonsoptions.cxx.
#define PROPERTYCOUNT_INDEX 13 |
Definition at line 80 of file addonsoptions.cxx.
#define PROPERTYCOUNT_MENUITEM 6 |
Definition at line 83 of file addonsoptions.cxx.
#define PROPERTYCOUNT_MERGE_MENUBAR 6 |
Definition at line 142 of file addonsoptions.cxx.
#define PROPERTYCOUNT_MERGE_NOTEBOOKBAR 7 |
Definition at line 159 of file addonsoptions.cxx.
#define PROPERTYCOUNT_MERGE_STATUSBAR 6 |
Definition at line 168 of file addonsoptions.cxx.
#define PROPERTYCOUNT_MERGE_TOOLBAR 7 |
Definition at line 150 of file addonsoptions.cxx.
#define PROPERTYCOUNT_NOTEBOOKBARITEM 8 |
Definition at line 109 of file addonsoptions.cxx.
#define PROPERTYCOUNT_POPUPMENU 4 |
Definition at line 92 of file addonsoptions.cxx.
#define PROPERTYCOUNT_STATUSBARITEM 8 |
Definition at line 120 of file addonsoptions.cxx.
#define PROPERTYCOUNT_TOOLBARITEM 7 |
Definition at line 99 of file addonsoptions.cxx.
#define PROPERTYNAME_CONTEXT ADDONSMENUITEM_STRING_CONTEXT |
Definition at line 61 of file addonsoptions.cxx.
#define PROPERTYNAME_IMAGEIDENTIFIER ADDONSMENUITEM_STRING_IMAGEIDENTIFIER |
Definition at line 60 of file addonsoptions.cxx.
#define PROPERTYNAME_SUBMENU ADDONSMENUITEM_STRING_SUBMENU |
Definition at line 62 of file addonsoptions.cxx.
#define PROPERTYNAME_TARGET ADDONSMENUITEM_STRING_TARGET |
Definition at line 59 of file addonsoptions.cxx.
#define PROPERTYNAME_TITLE ADDONSMENUITEM_STRING_TITLE |
Definition at line 58 of file addonsoptions.cxx.
#define PROPERTYNAME_URL ADDONSMENUITEM_STRING_URL |
Definition at line 57 of file addonsoptions.cxx.
|
constexpr |
Definition at line 64 of file addonsoptions.cxx.
Referenced by framework::AddonsOptions_Impl::ReadImages().
|
constexpr |
Definition at line 54 of file addonsoptions.cxx.
|
constexpr |
Definition at line 53 of file addonsoptions.cxx.
|
constexpr |
Definition at line 55 of file addonsoptions.cxx.
Referenced by framework::AddonsOptions_Impl::ReadMenuItem(), framework::AddonsOptions_Impl::ReadNotebookBarItem(), and framework::AddonsOptions_Impl::ReadToolBarItem().