[Libreoffice-bugs] [Bug 111550] New: DOCX IMPORT: Missing nested table in a specific document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 9 07:14:22 UTC 2017


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

            Bug ID: 111550
           Summary: DOCX IMPORT: Missing nested table in a specific
                    document
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

Created attachment 135337
  --> https://bugs.documentfoundation.org/attachment.cgi?id=135337&action=edit
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.

-- 
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/20170809/459bd2b3/attachment.html>


More information about the Libreoffice-bugs mailing list