summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls
diff options
context:
space:
mode:
authorPrashant Pandey <prashant3.yishu@gmail.com>2013-04-19 05:30:36 +0530
committerEike Rathke <erack@redhat.com>2013-04-19 16:33:49 +0000
commite7a5f5ef80c3e66101cfb063cbed0527c0559319 (patch)
treea4ea0b3bb128d10e79c5a51803a7be835b6cda83 /svx/source/stbctrls
parent42960dcc78175f44dacc8bd64cf6c6dcb8bbaf38 (diff)
fdo#61541 : Count Number of selected Cells in calc
Change-Id: Ic9c911552f2b03bb496f47251917a3736494dce1 Reviewed-on: https://gerrit.libreoffice.org/3213 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svx/source/stbctrls')
-rw-r--r--svx/source/stbctrls/stbctrls.h19
-rw-r--r--svx/source/stbctrls/stbctrls.src6
2 files changed, 16 insertions, 9 deletions
diff --git a/svx/source/stbctrls/stbctrls.h b/svx/source/stbctrls/stbctrls.h
index 7482c0b605d7..0b5e56d005d3 100644
--- a/svx/source/stbctrls/stbctrls.h
+++ b/svx/source/stbctrls/stbctrls.h
@@ -31,15 +31,16 @@
#define ZOOM_PAGE_WIDTH 7
#define ZOOM_WHOLE_PAGE 8
-// IDs wie SUBTOTAL_FUNC im Calc
-
-#define PSZ_FUNC_AVG 1
-#define PSZ_FUNC_COUNT2 3
-#define PSZ_FUNC_COUNT 2
-#define PSZ_FUNC_MAX 4
-#define PSZ_FUNC_MIN 5
-#define PSZ_FUNC_SUM 9
-#define PSZ_FUNC_NONE 16
+// IDs as in SUBTOTAL_FUNC of Calc
+
+#define PSZ_FUNC_AVG 1
+#define PSZ_FUNC_COUNT2 3
+#define PSZ_FUNC_COUNT 2
+#define PSZ_FUNC_MAX 4
+#define PSZ_FUNC_MIN 5
+#define PSZ_FUNC_SUM 9
+#define PSZ_FUNC_SELECTION_COUNT 12
+#define PSZ_FUNC_NONE 16
#define XMLSEC_CALL 1
diff --git a/svx/source/stbctrls/stbctrls.src b/svx/source/stbctrls/stbctrls.src
index a5b6799e9d5b..8d5beebcc6bc 100644
--- a/svx/source/stbctrls/stbctrls.src
+++ b/svx/source/stbctrls/stbctrls.src
@@ -218,6 +218,12 @@ Menu RID_SVXMNU_PSZ_FUNC
};
MenuItem
{
+ Identifier = PSZ_FUNC_SELECTION_COUNT ;
+ HelpId = HID_MNU_FUNC_SELECTION_COUNT ;
+ Text [ en-US ] = "Selection count" ;
+ };
+ MenuItem
+ {
Identifier = PSZ_FUNC_NONE ;
HelpId = HID_MNU_FUNC_NONE ;
Text [ en-US ] = "None" ;