https://bugs.freedesktop.org/show_bug.cgi?id=53551
Bug #: 53551
Summary: DOCX import: Wrong inter-paragraph spacing with
before/after="auto": Should be one line not 0pt
Classification: Unclassified
Product: LibreOffice
Version: unspecified
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
AssignedTo: [email protected]
ReportedBy: [email protected]
When looking at the screenshots of bug 36999, I realized that LibreOffice 3.6
uses the wrong paragraph spacing in a text box.
The following is about the text in the box on the bottom right of the
screenshots.
With paragraph before=auto, after=auto, Microsoft Office 2010/Windows shows the
following: attachment 65551
Namely, there is an empty line between the paragraphs.
However, result of LibreOffice is attachment 65607
Namely, there is no spacing after the paragraph.
Test case: https://bugzilla.novell.com/attachment.cgi?id=394228
>From ECMA-376 3rd edition Part 1:
"17.3.1.33 spacing (Spacing Between Lines and Above/Below Paragraph)"
"afterAutospacing
(Automatically
Determine Spacing
Below Paragraph)"
[...] "This automatic spacing shall match the spacing which would be applied to
the paragraph in an HTML document where no explicit spacing before/after is
specified."
That's of cause "well defined" as a view at the HTML 4.01 standard shows:
http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.1
However, most graphical HTML browsers seem to use a spacing which is (roughly?)
as high as one line of the rendered text.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs