Bug 141062 - Generated DOCX tables with column and row spanning formatted wrong
Summary: Generated DOCX tables with column and row spanning formatted wrong
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2021-03-16 11:30 UTC by Paul Johnson
Modified: 2021-03-17 16:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Sample docx file (815.91 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-16 11:30 UTC, Paul Johnson
Details
Shorter example docx file (37.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-16 17:37 UTC, Paul Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Johnson 2021-03-16 11:30:56 UTC
Created attachment 170508 [details]
Sample docx file

The attached file is generated by our software, the Diametric Safety Case Manager. It displays correctly when opened in MS Word, but the table formatting is broken in LO.

Our tables contain row and column spanning. LO shows them with misaligned columns and cell text.

We *think* that the generated document.xml is valid OOXML, but we are certainly open to the idea that the problem is in our document generator.
Comment 1 Timur 2021-03-16 14:30:48 UTC
Repro 7.2+ in Windows, so All. 
Never was fully correct but was changed in 7.0.
As in other generated docx cases, Lo opens fine if resaved in Mso. 
I'll set to New, regardless if docx is really correct. 

You can do 2 things 
- attach minimal sample with just one tavle, instead of 12 pages docx
- xml compare your docx and Mso resaved one
Comment 2 Timur 2021-03-16 14:55:48 UTC
I bisected change to worse in 7.0 to bug 59274. Laszlo, please see this.
Comment 3 Paul Johnson 2021-03-16 17:37:26 UTC
Created attachment 170518 [details]
Shorter example docx file

As requested, here is a shorter file containing only one table.

I've spent quite a lot of time looking at XML diffs. The trouble is that Word makes so many irrelevant changes its not possible to figure out what the important ones are. I can't see any change in the underlying table structure.