summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/condformatbuffer.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-21 15:47:23 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-21 15:51:03 +0200
commitf654980aebb5d41a83dd7de94ec2ebf0173c67a7 (patch)
treeefa2975e45b4813f6b6d880eaedbaf1ec4b221b8 /sc/source/filter/inc/condformatbuffer.hxx
parent485792374600cd9919ab6edf201e8bd97d640261 (diff)
initial support for percentile in data bars/color scales
Color Scales look correctly but in the databar code seems to be an error if all values are positive. Change-Id: I0bfb277df50021bd20a4b13a5da342670102b649
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r--sc/source/filter/inc/condformatbuffer.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx
index 60f24d749a39..4dbe61330ac0 100644
--- a/sc/source/filter/inc/condformatbuffer.hxx
+++ b/sc/source/filter/inc/condformatbuffer.hxx
@@ -86,6 +86,7 @@ struct ColorScaleRuleModelEntry
bool mbMin;
bool mbMax;
bool mbPercent;
+ bool mbPercentile;
rtl::OUString maFormula;
ColorScaleRuleModelEntry():
@@ -93,7 +94,8 @@ struct ColorScaleRuleModelEntry
mnVal(0),
mbMin(false),
mbMax(false),
- mbPercent(false) {}
+ mbPercent(false),
+ mbPercentile(false) {}
};
class ColorScaleRule : public WorksheetHelper