Create a new text document and add a table. Set table aligment to left and width to 100% (relative). Save as Word 97/2000/XP/2004 doc -file. Close the file and reopen it. Check the table width and it's been converted to 17,00cm (non relative).
Reproducible with LO 4.0.0.3 (Win7 Home, 64bit), but I am not sure if this really a bug. Can anybody else confirm this and verify that this is a bug?
I can confirm this behavior too using Linux Mint 15 x64 with LibreOffice 4.0.3.3. Therefore marking it as NEW.
Reproducible with LO 4.4.1.2, Win 8.1
** 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.0.5 or 5.1.2 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 your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-04-16
Repro with Version: 5.5.0.0.alpha0+ Build ID: 076ed447f694239d5c67adee528ea6e471d909ff CPU threads: 4; OS: Windows 6.19; UI render: GL; TinderBox: Win-x86@42, Branch:master, Time: 2017-06-09_23:54:20 Locale: nl-NL (nl_NL); Calc: CL
Created attachment 136252 [details] autoWidth_table.doc: created in MSO 2003 with 98% table width In MSO2003, the table width is set with "Preferred Width" being undefined, or set to 0. In DOCX, this shows up as <w:tblW w:w="0" w:type="auto"/>. So, relative widths definitely are supported in .doc and .docx. In LO, docx seems to round-trip OK, but .doc doesn't export/import with the correct relative size, indent. Confirmed with LO6.0dev.
(In reply to Justin L from comment #6) > In MSO2003, the table width is set with "Preferred Width" being undefined, > or set to 0. In DOCX, this shows up as <w:tblW w:w="0" w:type="auto"/>. Type=auto was for 100%. For 98% it shows up as <w:tblW w:w="4900" w:type="pct"/> where width is measured as ST_TblWidth "pct (Width in Fiftieths of a Percent)"
proposed fixes: https://gerrit.libreoffice.org/42918 - import table width percent https://gerrit.libreoffice.org/42919 - export table width percent
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e69473539a33da5450d3878999eba7f9bfb9e631 tdf#55528 ww8import: import table width percent 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.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=889547390ceeb8b5474f4a6245c07120e513da3f tdf#55528 ww8export: export table width percent 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.