diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-19 23:09:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-20 02:38:22 +0200 |
commit | f6a940ad1771016021a75c41a0e9be1e86843fb9 (patch) | |
tree | 21d5cd69453b1ae0757e919a291c7a225078597a /sc/source/filter/excel/xecontent.cxx | |
parent | 4327d4973b572ed749803007d90574919da31f04 (diff) |
export conditional formatting to xlsx, fdo#48360
This is not yet perfect but should export already the conditional
formatting and a great deal of the styles to xlsx
Still missing:
font export
number format export
some advanced conditional formats features
Diffstat (limited to 'sc/source/filter/excel/xecontent.cxx')
-rw-r--r-- | sc/source/filter/excel/xecontent.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index 17bd7e324d4c..3deb48a9701b 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -828,7 +828,11 @@ void XclExpCFImpl::SaveXml( XclExpXmlStream& rStrm ) XML_type, GetTypeString(), XML_priority, OString::valueOf( mnPriority + 1 ).getStr(), XML_operator, GetOperatorString( mrFormatEntry.GetOperation() ), + XML_dxfId, OString::valueOf( GetDxfs().GetDxfId( mrFormatEntry.GetStyle() ) ).getStr(), FSEND ); + rWorksheet->startElement( XML_formula, FSEND ); + rWorksheet->write(XclXmlUtils::ToOUString( GetRoot().GetDoc(), mrFormatEntry.GetValidSrcPos(), mrFormatEntry.CreateTokenArry( 0 ) )); + rWorksheet->endElement( XML_formula ); // OOXTODO: XML_extLst rWorksheet->endElement( XML_cfRule ); } |