diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-19 11:14:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-19 11:52:24 +0100 |
commit | 3eeb60687aa2476b02d1862390441fc0c1f1b7e7 (patch) | |
tree | 018f84cf982b344e0a4f5942df8738c351d6ff80 | |
parent | 207e0a3bcdf8f6f9e49b8639b260abe4e60f7460 (diff) |
DocxAttributeOutput::FormatBackground: handle dml syntax
CppunitTest_sw_ooxmlexport's testTextFrameBorders is a reproducer for
this problem.
Change-Id: I52e93ff09c67222caec789fc93bc19c257cdee05
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 725a5798f7af..6bcf8e6ee016 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -5779,6 +5779,11 @@ void DocxAttributeOutput::FormatBackground( const SvxBrushItem& rBrush ) } else if (m_bDMLTextFrameSyntax) { + m_pSerializer->startElementNS(XML_a, XML_solidFill, FSEND); + m_pSerializer->singleElementNS(XML_a, XML_srgbClr, + XML_val, sColor, + FSEND); + m_pSerializer->endElementNS(XML_a, XML_solidFill); } else if ( !m_rExport.bOutPageDescs ) { |