Summary: | Fileopen generated DOCX: Bad table structure and widths (OK if resaved in MSO) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Jan Chroust <jan.chroust> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | aron.budea, libreoffice |
Priority: | low | Keywords: | bibisected |
Version: | 4.1.0.4 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=134860 https://bugs.documentfoundation.org/show_bug.cgi?id=141062 https://bugs.documentfoundation.org/show_bug.cgi?id=68326 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 104444, 140202 | ||
Attachments: |
web app generated docx document with table
Bad view of table in writer Correct view in MS Word 2019 Trimmed down version Trimmed down version resaved in MSO as compatible |
Description
Jan Chroust
2021-03-05 15:22:02 UTC
Created attachment 170247 [details]
web app generated docx document with table
Created attachment 170248 [details]
Bad view of table in writer
Created attachment 170249 [details]
Correct view in MS Word 2019
Repro with Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 722ec600e85cca2e94e82e69f8d13773061172b9 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: nl-NL Calc: CL File doesn't open with Versie: 6.0.4.1 Build ID: a63363f6506b8bdc5222481ce79ef33b2d13c741 CPU-threads: 4; Besturingssysteem: Windows 6.3; UI-render: GL; Locale: nl-NL (nl_NL); Calc: CL Created attachment 170265 [details]
Trimmed down version
Also in Versie: 4.1.0.4 Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28 Broken differently in 4.0 Adding bibisectrequest to figure out who and how the - overall - improvement change is made Created attachment 170270 [details] Trimmed down version resaved in MSO as compatible Original attachment 170247 [details] is 19 pages in MSO. Trouble table is page 8. Trimmed down (wasn't explain how but seems correctly) attachment 170265 [details] is 3 pages, same table at page 3. Lo opens 2 pages, no table. Opening in LO 7.2+ gives error: SAXException: [word/document.xml line 1]: unknown error Further: File format error found at [mscx_uno bridge error] UNO type of C++ exception unknown: "o3tl.divide_by_zero", RTTI-name=".?AUdivide_by_zero@o3tl@@"! SAXParseException: '[word/document.xml line 1]: unknown error', Stream 'word/document.xml', Line 1, Column 30667(row,col). Document.xml sholdn't have Line 1, Column 30667 but is in UTF-8-BOM, instead of UTF-8. So I don't know how bad table could be seen. Note: We have few bugs with generated content (always search before submitting) where they are usually not fully in standard, but MSO still reads them. Important: If document is resaved in MSO, both compatible or new, LO opens it properly. Here I attach compatible one from MSO. My 7.2+ wasn't fresh, when I updated it I reproduced as reported. Original attachment 170247 [details] is 19 pages in MSO. Trouble table is page 8. Trimmed down (wasn't explain how but seems correctly) attachment 170265 [details] is 3 pages, same table at page 3. Lo opens 2 pages, no table. Note: We have few bugs with generated content (always search before submitting) where they are usually not fully in standard, but MSO still reads them. If document is resaved in MSO, both compatible or new, LO opens it properly. Here I attached compatible one from MSO as attachment 170270 [details]. I bibisected improvement in 41 and got "Drop redundant typedef" by S. Bergmann. So that's of no help. Original document claims to be from <Application>Microsoft Office Word</Application> and 2007. Reduced version is from <ap:Application>Microsoft Word for the web</ap:Application> and 2016. |