diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-29 11:38:17 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-29 11:45:40 +0100 |
commit | ef439702fa80ed8730d885aeded60dbf0bc5d264 (patch) | |
tree | cb1f65797c6d89db6519d788f5de847ea8213b27 /sw/qa | |
parent | a14d3e0a344ad43825574e8ba7b3b0ba04e8bf80 (diff) |
DOCX export: handle table style's pPr / rPr from InteropGrabBag
Change-Id: I6dfb29db030212e55a207f39e79a1cf01d482e85
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index 9db8db856392..ffe9c62b438b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -1466,6 +1466,10 @@ void Test::testCalendar1() assertXPath(pXmlStyles, "/w:styles/w:style[@w:styleId='Calendar1']/w:rsid", "val", "00903003"); assertXPath(pXmlStyles, "/w:styles/w:style[@w:styleId='Calendar1']/w:tblPr/w:tblStyleColBandSize", "val", "1"); assertXPath(pXmlStyles, "/w:styles/w:style[@w:styleId='Calendar1']/w:tcPr/w:shd", "val", "clear"); + + // Table style lost its paragraph / run properties. + assertXPath(pXmlStyles, "/w:styles/w:style[@w:styleId='Calendar1']/w:pPr/w:spacing", "lineRule", "auto"); + assertXPath(pXmlStyles, "/w:styles/w:style[@w:styleId='Calendar1']/w:rPr/w:lang", "eastAsia", "ja-JP"); } void Test::testSmartart() |