diff options
author | Tamás Zolnai <zolnaitamas2000@gmail.com> | 2016-11-19 23:59:49 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-11-20 00:14:28 +0100 |
commit | 298ee50676b849020a8a5042e8612f71379ecf3b (patch) | |
tree | a44a07ee98676148fabb7838e80a391db1019e69 /sc/inc/dpglobal.hxx | |
parent | eb27a63a38ee7d15292dc40520b0605e4c2228e2 (diff) |
PivotMedian: Implement median as a new pivot table function
Change-Id: Ife90c8f1c36980254de3cec6e395a6ba94d99fea
Diffstat (limited to 'sc/inc/dpglobal.hxx')
-rw-r--r-- | sc/inc/dpglobal.hxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sc/inc/dpglobal.hxx b/sc/inc/dpglobal.hxx index 7c82541a06e8..295af86db148 100644 --- a/sc/inc/dpglobal.hxx +++ b/sc/inc/dpglobal.hxx @@ -27,18 +27,19 @@ enum class PivotFunc { Sum = 0x0001, Count = 0x0002, Average = 0x0004, - Max = 0x0008, - Min = 0x0010, - Product = 0x0020, - CountNum = 0x0040, - StdDev = 0x0080, - StdDevP = 0x0100, - StdVar = 0x0200, - StdVarP = 0x0400, + Median = 0x0008, + Max = 0x0010, + Min = 0x0020, + Product = 0x0040, + CountNum = 0x0080, + StdDev = 0x0100, + StdDevP = 0x0200, + StdVar = 0x0400, + StdVarP = 0x0800, Auto = 0x1000 }; namespace o3tl { - template<> struct typed_flags<PivotFunc> : is_typed_flags<PivotFunc, 0x17ff> {}; + template<> struct typed_flags<PivotFunc> : is_typed_flags<PivotFunc, 0x11ff> {}; } struct ScDPValue |