From 777bbda955407c56805de3a3f4e96b0c13be6570 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 10 May 2012 12:40:06 +0200 Subject: 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 --- sc/inc/colorscale.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/inc/colorscale.hxx') 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; -- cgit