https://bugs.documentfoundation.org/show_bug.cgi?id=168042
Bug ID: 168042
Summary: FILEOPEN DOCX: below spacing of 10pt (or 0pt, or 8pt)
missing from default paragraph
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: filter:docx
Severity: trivial
Priority: lowest
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 107830
Created attachment 202434
--> https://bugs.documentfoundation.org/attachment.cgi?id=202434&action=edit
belowSpacing_withoutPPrDefault.docx: styles.xml has comment out w:pPrDefault
When MS Word 2010 opens up test.docx (attachment 157274 from bug 129627), the
default paragraph style (and the document's contents) have a 10pt below
spacing. In LO, this is zero.
LO opens it fine if it is first round-tripped by MS Word.
After the round-trip, styles.xml contains
<w:docDefaults>
<w:pPrDefault>
<w:pPr>
<w:spacing w:after="200" w:line="276" w:lineRule="auto"/>
</w:pPr>
</w:pPrDefault>
</w:docDefaults>
Before the round-trip, there is no w:spacing definition at all, nor is there a
w:pPrDefault defined.
And that ends up being the difference. If no pPrDefault is defined, then MS
Word 2010 uses its program-default of 10pt below spacing. If there is a
pPrDefault defined (even if it is empty), then a 0pt below spacing is used.
Sadly, MS Word 2024 uses a program default of 8pt, and MS Word 2003 uses 0pt.
So there can be no "right" answer here. Nor does the compatiblityMode level
seem to make any difference...
OK - I'll still create this bug report as a reference, but it is not
actionable. Our current behaviour is the best course of action IMHO.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=107830
[Bug 107830] [META] DOCX (OOXML) paragraph-related issues
--
You are receiving this mail because:
You are the assignee for the bug.