summaryrefslogtreecommitdiff
path: root/sc/inc/colorscale.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-10 12:40:06 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-10 12:41:47 +0200
commit777bbda955407c56805de3a3f4e96b0c13be6570 (patch)
tree4d9e9edf00ab6489d9057d6085b6813d198fd496 /sc/inc/colorscale.hxx
parente6e1470c6e9c027aa5794a88280a2b56a5062663 (diff)
finally support min/max and percentile in color scales
Still some updating problems. If min or max is changed the whole area is not updated. Change-Id: I9a513fd9c0613d48ce33524672a31078d8aedf46
Diffstat (limited to 'sc/inc/colorscale.hxx')
-rw-r--r--sc/inc/colorscale.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 65a2fd6a824a..b71c38b87845 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -69,12 +69,13 @@ private:
double GetMinValue() const;
double GetMaxValue() const;
- void calcMinMax(double& nMin, double nMax) const;
+ void calcMinMax(double& nMin, double& nMax) const;
public:
ScColorScaleFormat(ScDocument* pDoc);
Color* GetColor(const ScAddress& rAddr) const;
void AddEntry(ScColorScaleEntry* pEntry);
+ void SetRange(const ScRangeList& rList);
typedef ColorScaleEntries::iterator iterator;
typedef ColorScaleEntries::const_iterator const_iterator;