summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-07-16 00:43:02 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-07-16 21:37:13 +0200
commit14c2ca1b4efad2dcdc40e6d5c218cedd487857aa (patch)
tree70f9cc390a11c16559236ffa38586407b30d2dc2
parent48c977dd945130051a7e37d7fcb7eb11b767ead3 (diff)
tdf#113646, export font size for dxf records
Change-Id: I6dd6b0ef858fd933603be4435f7810c739b72ef0 Reviewed-on: https://gerrit.libreoffice.org/57471 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/filter/excel/xestyle.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index ca0db5c3e42f..a36f75e8921b 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -1160,6 +1160,13 @@ void XclExpDxfFont::SaveXml(XclExpXmlStream& rStrm)
FSEND);
}
+ if (maDxfData.nFontHeight)
+ {
+ rStyleSheet->singleElement(XML_sz,
+ XML_val, OString::number(*maDxfData.nFontHeight/20).getStr(),
+ FSEND);
+ }
+
if (maDxfData.eUnder)
{
const char* pVal = getUnderlineOOXValue(maDxfData.eUnder.get());