summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-13 06:11:35 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-13 08:44:39 +0200
commit8384032fb757d42bb93f03f70f589d493ea8ef2f (patch)
tree9e5d5ce8330af5b522d2bd6a88d0eb69c4d9e2ec /sc/inc
parente3bc45b8079228ca25e70ac5a51b6977afd6f61e (diff)
export color scales to xlsx
Change-Id: I251acbb66a4033f69515c1b078ed5a28d0f0cd76
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/colorscale.hxx5
-rw-r--r--sc/inc/document.hxx2
2 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index e7d09442796f..61346b6873cb 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -36,6 +36,7 @@
class ScDocument;
class ScFormulaCell;
+class ScTokenArray;
class SC_DLLPUBLIC ScColorScaleEntry
{
@@ -64,6 +65,7 @@ public:
bool GetMax() const;
bool GetPercent() const;
bool HasFormula() const;
+ const ScTokenArray* GetFormula() const;
void SetMin(bool bMin);
void SetMax(bool bMax);
void SetPercent(bool bPercent);
@@ -89,6 +91,7 @@ public:
Color* GetColor(const ScAddress& rAddr) const;
void AddEntry(ScColorScaleEntry* pEntry);
void SetRange(const ScRangeList& rList);
+ const ScRangeList& GetRange() const;
void DataChanged(const ScRange& rRange);
void UpdateMoveTab(SCTAB nOldTab, SCTAB nNewTab);
@@ -103,7 +106,7 @@ public:
const_iterator end() const;
};
-class ScColorScaleFormatList
+class SC_DLLPUBLIC ScColorScaleFormatList
{
private:
typedef boost::ptr_vector<ScColorScaleFormat> ColorScaleFormatContainer;
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index c867461a412f..53adc397cd88 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1212,7 +1212,7 @@ public:
{ return pCondFormList; }
void SetCondFormList(ScConditionalFormatList* pNew);
- ScColorScaleFormatList* GetColorScaleList() const;
+ SC_DLLPUBLIC const ScColorScaleFormatList* GetColorScaleList() const;
ScValidationDataList* GetValidationList() const
{ return pValidationList; }