Bug 124091 - FILEOPEN ODT Table rendered partly outside page
Summary: FILEOPEN ODT Table rendered partly outside page
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odt
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2019-03-15 07:51 UTC by Irakli Lomidze
Modified: 2019-07-04 10:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Original DOCX File (50.50 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-15 07:52 UTC, Irakli Lomidze
Details
ODT Generated By Microsoft Word 365 (With latest update 2019 March 15) (26.66 KB, application/vnd.oasis.opendocument.text)
2019-03-15 07:53 UTC, Irakli Lomidze
Details
Test File for Xisco Faulí (Fails on https://odfvalidator.org/) (8.04 KB, application/vnd.oasis.opendocument.text)
2019-03-22 13:18 UTC, Irakli Lomidze
Details
Table with wrong position (9.94 KB, application/vnd.oasis.opendocument.text)
2019-03-22 14:49 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Irakli Lomidze 2019-03-15 07:51:36 UTC
Description:
I have a ODT file Generated by Microsoft Word 365, It looks fine when I open it in MS Word again. But layout is broken when I open it in LibreOffice 6.2.1.

Layout is more ok, when I open same DOCX file from LO 6.2.1. instead of ODT (but some parts is missing)

Steps to Reproduce:
1. You need My File Test.ODT and Test.DOCX
2. Open it in Word it Both works Fine
3. Open ODT in LO

Actual Results:
Layout broken

Expected Results:
Retain Layout


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Please instruct me how to send that file.
Comment 1 Irakli Lomidze 2019-03-15 07:52:44 UTC
Created attachment 149986 [details]
Original DOCX File
Comment 2 Irakli Lomidze 2019-03-15 07:53:32 UTC
Created attachment 149987 [details]
ODT Generated By Microsoft Word 365 (With latest update 2019 March 15)
Comment 3 Durgapriyanka 2019-03-15 21:57:55 UTC
Thank you for reporting the bug. I can confirm that the ODT file is broken when opened in Writer.

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 4 Xisco Faulí 2019-03-22 12:33:27 UTC
The .docx file can't be even opened in MSO 2010 claiming it's corrupted.
Why LibreOffice should care about the compatibility of a document if it is not even compatible among different versions of MSO?
Regarding the .ODT file, it's not even conformant with ODF1.2. Checked with https://odfvalidator.org/, so it's a MSO problem.
Closing as RESOLVED NOTOURBUG
Comment 5 Irakli Lomidze 2019-03-22 13:06:11 UTC
Microsoft Office 2010 Is out dated version

use Office 2016/2019 or Office 365.

I Don't know about validation of odf 1.2

See result Office documents Created in Microsoft Office newer version
Comment 6 Irakli Lomidze 2019-03-22 13:18:43 UTC
Created attachment 150181 [details]
Test File for Xisco Faulí  (Fails on https://odfvalidator.org/)

Simple test file 
Create By LO 6.2.2.

fails https://odfvalidator.org/
Comment 7 Buovjaga 2019-03-22 13:42:44 UTC
Irakli: the point is we cannot fix the problems Microsoft is having with their ODT export.
Comment 8 Irakli Lomidze 2019-03-22 13:49:01 UTC
OK I Got it.

Sorry for reopen it again.

Colleagues I have noted layout error, when I save Test.DOCX file from Word to RTF Format. 

Again Layout is breaking when importing file in LO 6.2.2
But Layout is Ok when I open DOCX file in same LO 6.2.2
Comment 9 Buovjaga 2019-03-22 14:03:19 UTC
(In reply to Irakli Lomidze from comment #8)
> Sorry for reopen it again.
> 
> Colleagues I have noted layout error, when I save Test.DOCX file from Word
> to RTF Format. 
> 
> Again Layout is breaking when importing file in LO 6.2.2
> But Layout is Ok when I open DOCX file in same LO 6.2.2

Ok, but please open a new report for this. It would be confusing to change this report at this point.
Comment 10 Irakli Lomidze 2019-03-22 14:04:31 UTC
OK Sir.
Comment 11 Regina Henschel 2019-03-22 14:49:45 UTC
Created attachment 150193 [details]
Table with wrong position

For me it is an layout error in LibreOffice. The table in my example has a relative width of 90%, resulting in a width of about 15cm. There is less than 15cm left on the right side of the text box. Therefore the table should go below the text box.

Instead LibreOffice renders the table partly outside the page.

The validation errors in the file from Word are not related to the problem.

You can avoid such problems, when using wrap none (Word 'Top and Bottom') for the text box.