<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: Missing nested table in a specific document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111550">111550</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DOCX IMPORT: Missing nested table in a specific document
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Keywords</th>
          <td>filter:docx
          </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>mikekaganski@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=135337" name="attach_135337" title="Missing nested table">attachment 135337</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=135337&action=edit" title="Missing nested table">[details]</a></span>
Missing nested table

The attachment is sanitized and distilled minimal reproducer of a real user's
problem with a document created by a third-party report-generating software.

The file opens in Word with a 1-column 2-row outer table that has a nested
table in second row. That nested table has a single cell with two lines of text
in it, with line break between lines:

[Table1:A2]
[Table2:A1]

When open in Writer, there's no nested table, and outer table's second row's
cell contains text

[Table1:A2]

with line break after it.

The document is ill-formed OOXML, that contains <w:tbl> element as direct child
of <w:p>, which is illegal, but accepted by Word. Furthermore, Word makes a
funny trick here, moving the content of the outer <w:p> into the first cell of
inner table.

The goal is to try to be bug-to-bug compatible with Word here.</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>