summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPriyankaGaikwad <priyanka.gaikwad@synerzip.com>2013-11-15 18:29:22 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-15 18:24:26 +0100
commit9fbdb2b8a71e195ac2aa68740e66e84316b08ed7 (patch)
treee045b438738638bc9d3b702390c7cd9ed29487ae /sw
parentb00c73f9338a1bc0d4698f14383c4a5f9dbd78b6 (diff)
Fixed for spacing between lines in table is getting preserve.
Problem Description: In "w:spacing" value of "w:line" attribute value in table is not getting is preserved. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/6678 Change-Id: I2b0284a22da3a828c81876960f488049be4f8681
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/data/table_atleast.docxbin0 -> 13029 bytes
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx6
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/table_atleast.docx b/sw/qa/extras/ooxmlexport/data/table_atleast.docx
new file mode 100644
index 000000000000..ec751aa58a76
--- /dev/null
+++ b/sw/qa/extras/ooxmlexport/data/table_atleast.docx
Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 459d615b0dce..66a24c57dd53 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -1894,6 +1894,12 @@ DECLARE_OOXML_TEST(testSpacingLineRule,"table_lineRule.docx")
assertXPath(pXmlDoc, "/w:document/w:body/w:tbl/w:tr[1]/w:tc[1]/w:p/w:pPr/w:spacing", "lineRule", "auto");
}
+DECLARE_OOXML_TEST(testTableLineSpacing, "table_atleast.docx")
+{
+ xmlDocPtr pXmlDoc = parseExport("word/document.xml");
+ assertXPath(pXmlDoc, "/w:document/w:body/w:tbl/w:tr/w:tc/w:p/w:pPr/w:spacing", "line", "320");
+}
+
#endif
CPPUNIT_PLUGIN_IMPLEMENT();