diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-05 01:16:54 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-05 01:26:26 +0100 |
commit | c412b2196343bdd13f4ab59314805a3b92b32071 (patch) | |
tree | d060272a6cc708dbedc7e454aed757953c613cdd | |
parent | a5f449fe9c26a56271c68d70839348fc0047878c (diff) |
add export for new cond formats to odf
still missing:
above average
below average
Change-Id: I32d4de1d5de3e61d05d75065952dca90bd81370a
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 58cdaa42b243..0249852afec2 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -3908,6 +3908,26 @@ void ScXMLExport::ExportConditionalFormat(SCTAB nTab) aCond.append(pEntry->GetExpression(aPos, 0, 0, formula::FormulaGrammar::GRAM_ODFF)); aCond.append(')'); break; + case SC_COND_TOP10: + aCond.append("top-elements("); + aCond.append(pEntry->GetExpression(aPos, 0, 0, formula::FormulaGrammar::GRAM_ODFF)); + aCond.append(")"); + break; + case SC_COND_BOTTOM10: + aCond.append("bottom-elements("); + aCond.append(pEntry->GetExpression(aPos, 0, 0, formula::FormulaGrammar::GRAM_ODFF)); + aCond.append(")"); + break; + case SC_COND_TOP_PERCENT: + aCond.append("top-percent("); + aCond.append(pEntry->GetExpression(aPos, 0, 0, formula::FormulaGrammar::GRAM_ODFF)); + aCond.append(")"); + break; + case SC_COND_BOTTOM_PERCENT: + aCond.append("bottom-percent("); + aCond.append(pEntry->GetExpression(aPos, 0, 0, formula::FormulaGrammar::GRAM_ODFF)); + aCond.append(")"); + break; case SC_COND_ERROR: aCond.append("is-error"); break; |