[Libreoffice-bugs] [Bug 125300] New: DOCX Import Line spacing inside tables are handled differently in MS Word and LibreOffice causing different document layout

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 15 09:12:31 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125300

            Bug ID: 125300
           Summary: DOCX Import Line spacing inside tables are handled
                    differently in MS Word and LibreOffice causing
                    different document layout
           Product: LibreOffice
           Version: 6.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu

Description:
The line spacing paragraph setting is handled differently in Microsoft Word and
LibreOffice Writer inside tables: in Microsoft Word, the line spacing is also
applied to the last line of the paragraph, effectively working as a spacing
between the paragraph and the bottom cell border. In LibreOffice, the line
spacing doesn't affect the padding between the last line and the cell border.
This makes the same table smaller in LibreOffice Writer than in Microsoft Word
when opening a DOCX document with such properties.

Steps to Reproduce:
    1. Create a new document in LibreOffice Writer or Microsoft Word (the issue
can be reproduced both ways).
    2. Insert a table with one row and write a line of text in a cell.
    3. Select the text in the cell and change line spacing in the paragraph
settings to double.
    4. Save the document as DOCX.
    5. Open the same document both in LibreOffice Writer and Microsoft Word and
compare them.

Actual Results:
The line spacing in Microsoft Word is also applied to the last line of the
paragraph, effectively working as a spacing between the paragraph and the
bottom cell border, while in LibreOffice the line spacing doesn't affect the
padding between the last line and the cell border.

Expected Results:
LibreOffice should handle the line spacing after last line in a table just like
Microsoft Word when editing a DOCX file – maybe offering this behavior as a
compatibility option for Writer through Tools > Options > LibreOffice Writer >
Compatibility to avoid problems with other file formats or existing documents.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190515/c3d1f017/attachment-0001.html>


More information about the Libreoffice-bugs mailing list