diff options
author | Prashant Pandey <prashant3.yishu@gmail.com> | 2013-04-19 05:30:36 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-04-19 16:33:49 +0000 |
commit | e7a5f5ef80c3e66101cfb063cbed0527c0559319 (patch) | |
tree | a4ea0b3bb128d10e79c5a51803a7be835b6cda83 /svx | |
parent | 42960dcc78175f44dacc8bd64cf6c6dcb8bbaf38 (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')
-rw-r--r-- | svx/inc/helpid.hrc | 1 | ||||
-rw-r--r-- | svx/source/stbctrls/stbctrls.h | 19 | ||||
-rw-r--r-- | svx/source/stbctrls/stbctrls.src | 6 |
3 files changed, 17 insertions, 9 deletions
diff --git a/svx/inc/helpid.hrc b/svx/inc/helpid.hrc index 5455b3398ed1..b2088f61c155 100644 --- a/svx/inc/helpid.hrc +++ b/svx/inc/helpid.hrc @@ -134,6 +134,7 @@ #define HID_MNU_FUNC_MIN "SVX_HID_MNU_FUNC_MIN" #define HID_MNU_FUNC_NONE "SVX_HID_MNU_FUNC_NONE" #define HID_MNU_FUNC_SUM "SVX_HID_MNU_FUNC_SUM" +#define HID_MNU_FUNC_SELECTION_COUNT "SVX_HID_MNU_FUNC_SELECTION_COUNT" #define HID_MNU_ZOOM_100 "SVX_HID_MNU_ZOOM_100" #define HID_MNU_ZOOM_150 "SVX_HID_MNU_ZOOM_150" #define HID_MNU_ZOOM_200 "SVX_HID_MNU_ZOOM_200" 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" ; |