<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - DOCX Import Line spacing inside tables are handled differently in MS Word and LibreOffice causing different document layout"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125300">125300</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DOCX Import Line spacing inside tables are handled differently in MS Word and LibreOffice causing different document layout
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>