summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-30 00:57:57 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-30 01:03:56 +0100
commitce26903f7037c44a723716dfb38766ab9611c224 (patch)
tree05a033f3f2a6ef49fdcd3c91cbb909d3c52f24f9 /sc/inc
parent29c5324696d863f0804405267f6787a4688122b8 (diff)
export icon set data into OOXML
missing are still the Excel2010 extLst entries Change-Id: Ic0c728613b1ee48482cbd9cef2aeccd0e0f25f72
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/colorscale.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 685fde1fc7d1..5907c6ee15e0 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -316,10 +316,6 @@ struct ScIconSetFormatData
class SC_DLLPUBLIC ScIconSetFormat : public ScColorFormat
{
-private:
- typedef boost::ptr_vector<ScColorScaleEntry>::iterator iterator;
- typedef boost::ptr_vector<ScColorScaleEntry>::const_iterator const_iterator;
-
public:
ScIconSetFormat(ScDocument* pDoc);
ScIconSetFormat(ScDocument* pDoc, const ScIconSetFormat& rFormat);
@@ -340,15 +336,19 @@ public:
static ScIconSetMap* getIconSetMap();
-#if DUMP_FORMAT_INFO
- virtual void dumpInfo(rtl::OUStringBuffer& rBuf) const;
-#endif
-private:
+ typedef boost::ptr_vector<ScColorScaleEntry>::iterator iterator;
+ typedef boost::ptr_vector<ScColorScaleEntry>::const_iterator const_iterator;
+
iterator begin();
const_iterator begin() const;
iterator end();
const_iterator end() const;
+#if DUMP_FORMAT_INFO
+ virtual void dumpInfo(rtl::OUStringBuffer& rBuf) const;
+#endif
+private:
+
double GetMinValue() const;
double GetMaxValue() const;
double CalcValue(double nMin, double nMax, ScIconSetFormat::const_iterator& itr) const;