diff options
-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 } |