summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorJakub Trzebiatowski <ubap.dev@gmail.com>2016-03-31 22:54:23 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-04-04 07:04:19 +0000
commitedc63d3abb5c4dae223f745f6384e7d0e5fc717e (patch)
tree62c6c8c0f20dd4364ee2725c5fe2084b2e0918b3 /cui/source/inc
parent3dd9a3027d39ee9932b26abcde12363c881bff6a (diff)
tdf#45129 Customize Toolbars: Add category "All categories"
- added string "All commands" to resources - moved code responsible for flling functions list to a function - defined SVX_CFGGROUP_ALLFUNCTIONS - added "All categories" category Change-Id: I4f03c8bc0af44dba2ef89ddd64b3fac67c5f2695 Reviewed-on: https://gerrit.libreoffice.org/23572 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/cuires.hrc1
-rw-r--r--cui/source/inc/selector.hxx3
2 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index f9b2843c055c..de91c471a379 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -349,6 +349,7 @@
#define RID_SVXSTR_ROW (RID_SVX_START + 1201)
#define RID_SVXSTR_COL (RID_SVX_START + 1202)
#define RID_SVXSTR_AUTO_ENTRY (RID_SVX_START + 1203)
+#define RID_SVXSTR_ALLFUNCTIONS (RID_SVX_START + 1204)
#define RID_SVXSTR_USE_REPLACE (RID_SVX_START + 1205)
#define RID_SVXSTR_CPTL_STT_WORD (RID_SVX_START + 1206)
diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx
index 2f6b194873af..d9b617290239 100644
--- a/cui/source/inc/selector.hxx
+++ b/cui/source/inc/selector.hxx
@@ -26,6 +26,7 @@
#include <svtools/treelistbox.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/frame/DispatchInformation.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/script/browse/XBrowseNode.hpp>
@@ -38,6 +39,7 @@ class SaveInData;
#define SVX_CFGFUNCTION_SLOT 2
#define SVX_CFGGROUP_SCRIPTCONTAINER 3
#define SVX_CFGFUNCTION_SCRIPT 4
+#define SVX_CFGGROUP_ALLFUNCTIONS 5
struct SvxGroupInfo_Impl
{
@@ -149,6 +151,7 @@ private:
SvTreeListEntry* _pParentEntry,
bool _bCheapChildrenOnDemand
);
+ void fillFunctionList( const com::sun::star::uno::Sequence< com::sun::star::frame::DispatchInformation >& commands );
protected:
virtual void RequestingChildren( SvTreeListEntry *pEntry) override;