[Libreoffice-bugs] [Bug 48350] FILESAVE: missing <w:spacing w:after="0" w:before="0"/> in new document.docx

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 5 21:23:05 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48350

--- Comment #1 from Joachim Otahal <jou at gmx.net> 2012-04-05 12:23:05 PDT ---
The bug is essentially the same if you use .odt, it just does not manifest
since the default paragraph spacing is 0.00.

TEST1.odt\content.xml (reduced to the important difference):
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph"
style:parent-style-name="Standard" style:master-page-name="Standard">
<style:paragraph-properties style:page-number="auto"/>
</style:style>
</office:automatic-styles>

TEST6.odt\content.xml (new document, change spacing to 0.1 and back to 0.0):
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph"
style:parent-style-name="Standard">
<style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/>
</style:style>
<style:style style:name="P2" style:family="paragraph"
style:parent-style-name="Standard" style:master-page-name="Standard">
<style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"
style:page-number="auto"/>
</style:style>
</office:automatic-styles>


It should always save those spacings.

I guess other spacings are affected too, but they did not yet annoy me : )

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list