diff options
author | Justin Luth <justin.luth@collabora.com> | 2021-03-24 15:49:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-03-31 09:08:25 +0200 |
commit | 5c90f3d28de6262bb730bad106d4652e458054df (patch) | |
tree | 5f5e976f77b334b0c0f7a427907a0c2f5715cdf9 /sw/qa | |
parent | cc1d19f7bbaefa5fb22ebd1344112755068b93c9 (diff) |
tdf#134385 doc/docxexport: maybe export false contextualspacing
Instead of LO 4.2's solution of never exporting false,
export if the inherited value would be true.
Otherwise there is no way to override an inherited value.
RTF doesn't have a "false" version of
\contextualspace, so I ignored that format.
Change-Id: I6d05eb9a5d3fbfbfca0fddd7eda0c230baa25c5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113064
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport12.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx index 743671e465b3..3a8530733c76 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx @@ -974,6 +974,9 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf138899, "tdf138899.docx") xmlDocUniquePtr pXmlDocument = parseExport("word/document.xml"); // This was 6, not removed empty temporary paragraph at the end of the section assertXPath(pXmlDocument, "/w:document/w:body/w:p", 5); + + //tdf#134385: Paragraph property to "add space between paragraphs of the same style" was lost + assertXPath(pXmlDocument, "//w:p[1]/w:pPr/w:contextualSpacing", "val", "false"); } DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf122563, "tdf122563.docx") |