Created attachment 99891 [details] Sample Open XML Strict Table that does not import This bug was tested LibreOffice v4.4 running in windows 7 and Linux. It appears that LibreOffice squishes tables when importing MS Open XML Strict .docx files. I have attached an example. Steps to reproduce the bug: 1. Open attached Demo-Hayden-Management-v2StrictTable.docx document in writer 4.3+ 2. Open attached Demo-Hayden-Management-v2StrictTable.docx document in Word2013 or onedrive 3. Compare the documents. Note that the table is compressed and unreadable.
Confirmed in Linux Mint 4.2.4 and 4.3 beta 1. The placement of the table is also off compared to word 2013. This relates to my bug 78508.
Created attachment 99903 [details] LibO 4.3 beta vs Word 2013
Created attachment 99904 [details] Word 2013 PDF
Does it also happen if you save the file as OOXML transitional?
@Markus Mohrhard Yes, the original table from Office 2007 is imported perfectly. It's attachment 83023 [details] from Bug 67339. You can view the hidden part of the document by highlighting the black and orange picture elements and deleting them.
Created attachment 105774 [details] Sample Open XML Transition Table that correctly imports If it helps, here's the same file saved transitional OOXML
This issue is still present in Version: 5.0.1.2 Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261 Locale: es-ES (es_ES) on Windows 7 (64-bit)
Migrating Whiteboard tags to Keywords: (filter:docx)
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.4.1 or 5.3.6 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170929
Still reproducible in Version: 6.0.0.0.alpha0+ Build ID: 34e8fd7e99489e9f50a512b07c6f3923b358b4d3 CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group
*** Bug 81938 has been marked as a duplicate of this bug. ***
How transitional set the size <w:tblW w:w="4311" w:type="dxa" /> How strict set the size <w:tblW w:w="215.55pt" w:type="dxa" /> strict sets sizes in pt and LO needs to be able to deal with these values, as i'm assuming its thinking its the value with the ending 'pt' and this is what causes the problem. another example - bug 78508
proposed fix: https://gerrit.libreoffice.org/43384 This fixes the tables in -the description's attachment 99891 [details] -duplicate bug 81938 description's attachment 103714 [details] -duplicate bug 81938 comment 8's attachment 103836 [details]
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a44d7058dd7f7addf21d9292104d7eb73ec9716 tdf#79272 ooxmlimport: support strict dxa tblWidth It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
No plans to backport because it is based on other changes made in 6.0 for bug 109306 by commit 8c7c72c8f8a1c8c09ee7cd4f413611c456f336b2.