Kaydet (Commit) e7aa05a5 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

implement ODF import for AutoMin and AutoMax

Change-Id: Idab366d7b3c800e7872bb64274215026bde27386
üst 23b0e840
...@@ -443,6 +443,10 @@ void setColorEntryType(const rtl::OUString& rType, ScColorScaleEntry* pEntry, co ...@@ -443,6 +443,10 @@ void setColorEntryType(const rtl::OUString& rType, ScColorScaleEntry* pEntry, co
//position does not matter, only table is important //position does not matter, only table is important
pEntry->SetFormula(rFormula, rImport.GetDocument(), ScAddress(0,0,rImport.GetTables().GetCurrentSheet()), formula::FormulaGrammar::GRAM_ODFF); 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 //TODO: add formulas
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment