Bug 130907

Summary: .docx import: table content not correctly aligned
Product: LibreOffice Reporter: Frederic Parrenin <frederic.parrenin>
Component: WriterAssignee: Attila Bakos (NISZ) <bakos.attilakaroly>
Status: RESOLVED DUPLICATE    
Severity: normal CC: raal
Priority: medium Keywords: filter:docx
Version: 4.1.0.4 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=128205
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104444    
Attachments: .docx file to reproduce the problem
Extended test file from Word 2013
Example file side by side in Word and Writer

Description Frederic Parrenin 2020-02-24 17:12:58 UTC
Created attachment 158145 [details]
.docx file to reproduce the problem

Steps to reproduce:
- open the attached .docx file in Word
=> remark that the equation is centered in the table
- now open the same file in LO (tested with 6.4.0)
=> remark that the equation is aligned on the left of the table
Comment 1 raal 2020-02-24 22:26:32 UTC
I can confirm with Version: 7.0.0.0.alpha0+
Build ID: 28d844a589e52abfe62dc66b888e78665221ba28
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

I noticed in command line: E: lt_string_value: assertion `string != ((void *)0)' failed
Comment 2 NISZ LibreOffice Team 2020-02-25 12:28:12 UTC
Created attachment 158177 [details]
Extended test file from Word 2013

Extended the example a bit. There are 4 settings for placing the equation in the document horizontally, this file illustrates all of them, all imported as "Left". 

Also there is one more to embed the equation inside the text, that seems to work, or not be much worse than originally.
Comment 3 NISZ LibreOffice Team 2020-02-25 12:28:59 UTC
Created attachment 158178 [details]
Example file side by side in Word and Writer

e2a46c452a273ded1c66c556118983cf
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL
Comment 4 László Németh 2020-04-29 14:53:51 UTC

*** This bug has been marked as a duplicate of bug 121525 ***