Bug 118703 - Libreoffice doesn't display correctly DOCX with header and table generated from Eclipse Birt (OK if resaved in MSO)
Summary: Libreoffice doesn't display correctly DOCX with header and table generated fr...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, filter:docx, regression
Depends on:
Blocks: DOCX-Tables MSO-External-Producers
  Show dependency treegraph
 
Reported: 2018-07-11 16:16 UTC by philippe.quere
Modified: 2022-09-15 09:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File new_report.docx (5.09 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-07-11 16:17 UTC, philippe.quere
Details
file new_report_open_and_saved_in_word.docx (7.34 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-07-11 16:17 UTC, philippe.quere
Details
comparison MSO 2010 and LibreOffice 6.2 (47.96 KB, image/png)
2018-07-12 10:19 UTC, Xisco Faulí
Details
File compared in MSO2016, original with LO6.3+ and MSO-saved with LO6.3+ (69.68 KB, image/jpeg)
2018-12-25 13:11 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description philippe.quere 2018-07-11 16:16:27 UTC
Description:
I have a document docx wich is generated by Eclipse BIRT (https://www.eclipse.org/birt/).

The file is correctly opened in Microsoft Word and Google Drive but it is not correctly opened by LibreOffice.

I have attached 2 files:
- new_report.docx (file generated that is not correctly opened by libreoffice but correctly opened by word)
- new_report_open_and_saved_in_word.docx (file generated, opened in word and saved by word). It is correctly opened by libreoffice.

Do you know what is wrong in file new_report.docx ?
new_report.docx is correctly opened by word.

Thank you.

Steps to Reproduce:
1. open file new_report.docx in libreoffice (some part of the document is missing)
2. open file new_report_open_and_saved_in_word.docx (all information is opened).

3. open file new_report.docx in Word
4. save file new_report.docx opened in Word as new_report2.docx
5. open file new_report2.docx in libre office, it works.

Actual Results:
some information is missing when we open file new_report.docx.

Expected Results:
You should see information that is in file new_report_open_and_saved_in_word.docx


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.0.3.2
Build ID: 1:6.0.3-0ubuntu1
Threads CPU : 8; OS : Linux 4.4; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
Comment 1 philippe.quere 2018-07-11 16:17:08 UTC
Created attachment 143479 [details]
File new_report.docx
Comment 2 philippe.quere 2018-07-11 16:17:35 UTC
Created attachment 143480 [details]
file new_report_open_and_saved_in_word.docx
Comment 3 Roman Kuznetsov 2018-07-11 19:05:09 UTC
сconfirm with file from attach in

Версия: 6.1.0.1 (x64)
ID сборки: 378e26bd4f22a135cef5fa17afd5d4171d8da21a
Потоков ЦП: 4; ОС:Windows 10.0; Отрисовка ИП: по умолчанию; 
Локаль: ru-RU (ru_RU); Calc: CL
Comment 4 Xisco Faulí 2018-07-12 10:19:11 UTC
Created attachment 143511 [details]
comparison MSO 2010 and LibreOffice 6.2
Comment 5 Xisco Faulí 2018-07-12 10:36:29 UTC
regression introduced in range https://cgit.freedesktop.org/libreoffice/core/log/?id=2149e924cbc32c370128c5f87a4f55c50c99e6bd&qt=range&q=2149e924cbc32c370128c5f87a4f55c50c99e6bd..74a2fb369c9ca7b3b423723926626fb0760abb29

I can't bisect it further because the document crashes in that range
Comment 6 Eyal Rozenberg 2018-12-25 10:47:09 UTC Comment hidden (no-value)
Comment 7 Timur 2018-12-25 13:11:49 UTC
Created attachment 147815 [details]
File compared in MSO2016, original with LO6.3+ and MSO-saved with LO6.3+

What is seen here was also present in other bugs. Original DOCX shows error via Open XML Productivity tool and is not quite correct. 
But as MSO reads it, LO should read it too. As it did with version 4.3.
Comment 8 philippe.quere 2018-12-28 13:32:47 UTC
Hi,
We have fixed BIRT emiter to generate docx file compatible with Libreoffice.
You can close the bug if you want.
Comment 9 Timur 2018-12-28 17:48:47 UTC
LO should ideally read what MSO reads. 
But we have specific situation here with time-limited incompatible DOCXs.
I guess we may say WontFix.
Should a volunteer be willing to go into this, can be opened.