diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-12 01:45:27 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-13 12:34:19 +0200 |
commit | e7aa05a50dbef1f93507ea0c725ad190d7adfe85 (patch) | |
tree | 8ff42d40a7916968e31289f568d4e2327fa23d52 /sc | |
parent | 23b0e840364dc839642491663613a12f30ff6df0 (diff) |
implement ODF import for AutoMin and AutoMax
Change-Id: Idab366d7b3c800e7872bb64274215026bde27386
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlcondformat.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx index d9b2fb9eaa7f..5fc9051a8509 100644 --- a/sc/source/filter/xml/xmlcondformat.cxx +++ b/sc/source/filter/xml/xmlcondformat.cxx @@ -443,6 +443,10 @@ void setColorEntryType(const rtl::OUString& rType, ScColorScaleEntry* pEntry, co //position does not matter, only table is important pEntry->SetFormula(rFormula, rImport.GetDocument(), ScAddress(0,0,rImport.GetTables().GetCurrentSheet()), formula::FormulaGrammar::GRAM_ODFF); } + else if(rType == "auto-minimum") + pEntry->SetType(COLORSCALE_AUTOMIN); + else if(rType == "auto-maximum") + pEntry->SetType(COLORSCALE_AUTOMAX); //TODO: add formulas } |