Bug 128047 - FILESAVE: table shown wrong by MS Word when saving .odt as .docx (OK when saved as DOC)
Summary: FILESAVE: table shown wrong by MS Word when saving .odt as .docx (OK when sav...
Status: RESOLVED DUPLICATE of bug 128290
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2019-10-09 11:51 UTC by Timur
Modified: 2020-03-17 12:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
testcase compared opened in OO as odt and MSO as docx (166.63 KB, image/png)
2019-10-09 11:51 UTC, Timur
Details
testcase compared opened in OO as odt, in OO as docx and MSO as docx (147.79 KB, image/png)
2019-10-09 11:53 UTC, Timur
Details
The example file saved as docx from recent master (12.48 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-03-17 09:05 UTC, NISZ LibreOffice Team
Details
Screenshot of the original odt and its docx exported version in Writer (158.61 KB, image/png)
2020-03-17 09:07 UTC, NISZ LibreOffice Team
Details
The example file saved by Writer and opened in Word (66.78 KB, image/png)
2020-03-17 09:09 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2019-10-09 11:51:35 UTC
Created attachment 154862 [details]
testcase compared opened in OO as odt and MSO as docx

1. Open attachment 54705 [details] testcase ODT in LO.
2. Save as .DOCX.
3. Open .DOCX in MSO and see that table is different
Comment 1 Timur 2019-10-09 11:53:12 UTC
Created attachment 154863 [details]
testcase compared opened in OO as odt, in OO as docx and MSO as docx

Additional screenshot showing that LO opens better docx that MSO does. 
Which doesn't mean that docx is right.
Comment 2 Timur 2019-10-09 12:02:36 UTC
DOCX saved with LO 3.3 can't be open with MSO. Not a regression, never was fine.
Saving as DOC is another issue, but it's fine as seen in Bug 44063.
Comment 3 Dieter 2019-10-15 18:53:37 UTC
I confirm it with

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 460908269972fd1f89312a1e62897ed1503e9e98
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-30_09:18:03
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 4 NISZ LibreOffice Team 2020-03-17 09:05:01 UTC
Created attachment 158738 [details]
The example file saved as docx from recent master

File from a build on 03-15
Comment 5 NISZ LibreOffice Team 2020-03-17 09:07:03 UTC
Created attachment 158739 [details]
Screenshot of the original odt and its docx exported version in Writer

The table structure looks good now, although a yellow highlight appears in the first line.
Comment 6 NISZ LibreOffice Team 2020-03-17 09:09:41 UTC
Created attachment 158740 [details]
The example file saved by Writer and opened in Word

Looks also good in Word13
Comment 7 NISZ LibreOffice Team 2020-03-17 10:36:03 UTC
Bibisect with bibisect-win64-6.5 shows this started to look good after:

https://gerrit.libreoffice.org/plugins/gitiles/core/+/8be3ae254f5b2ff76d9861ad4b9b5b5de5d14bb4

author	Louis Meyrat <louis.meyrat@gmail.com>	Sun Jan 12 17:26:09 2020 +0100
committer	Mike Kaganski <mike.kaganski@collabora.com>	Sun Jan 19 23:30:00 2020 +0100
tdf#128290 add tblLayout element to docx export

*** This bug has been marked as a duplicate of bug 128290 ***
Comment 8 Timur 2020-03-17 10:55:59 UTC
Thanks for check and bibisect !
Comment 9 Timur 2020-03-17 10:58:36 UTC
Somehow I overwrote duplicate, I set back.

*** This bug has been marked as a duplicate of bug 128290 ***
Comment 10 Timur 2020-03-17 12:45:43 UTC
(In reply to NISZ LibreOffice Team from comment #5)
> a yellow highlight appears in the first line.
That's from 5.0 and bug 64490 and only if Highlighting chosen for save, not for Shading. 
Can be confusing, as shown in bug 131215.
Seems here exists highlighting in ODT, although it's the same color as background so not noticeable.