Created attachment 57983 [details] Zip file Problem description: I have attached a .zip file, which includes a rdown_2.doc, and a rdown_2.docx which was created by saving the .doc file as .docx with LibreOffice 3.4.5. When the file is opened again with LibreOffice and MS Office Web Apps, the tab formatting is broken. Steps to reproduce: 1. Open .doc file in LibreOffice 2. Save .doc file as .docx 3. Open .docx file Current behavior: The length of tabs after a word that ends with a colon is changed. In the first page, this causes some text to appear at the right side of the page. In the second page, there are tabs missing after "B.I.I." and "NVQ:", causing these two lines to be shorter than they should. When the file is opened with MS Office Web Apps, the tabs in the first page are correct, but the some text appears centered, and the missing tabs after "B.I.I." nad "NVQ:" are missing. Expected behavior: Same tab formatting as in the .doc file Platform (if different from the browser): Browser: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2
There's extra tabulation added to paragraphs at 0,5in. To OP: Using tabulation only once and setting explicit tabulation position would save you from such incidents.
Thanks for the advice, but table formatting shouldn't be broken when saving to docx.
Please read this message in its entirety before responding. Your bug was confirmed at least 1 year ago and has not had any activity on it for over a year. Your bug is still set to NEW which means that it is open and confirmed. It would be nice to have the bug confirmed on a newer version than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never closed. If you have time please do the following: 1) Test to see if the bug is still present on a currently supported version of LibreOffice (preferably 4.2 or newer). 2) If it is present please leave a comment telling us what version of LibreOffice and your operating system. 3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a short comment telling us your version and Operating System Please DO NOT 1) Update the version field 2) Reply via email (please reply directly on the bug tracker) 3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link: https://wiki.documentfoundation.org/QA/BugTriage There are also other ways to get involved including with marketing, UX, documentation, and of course developing - http://www.libreoffice.org/get-help/mailing-lists/. Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Tested again in LibreOffice 4.3 on Linux. The bug is still present for the tabs in the first page though the tabs after "B.I.I" and "NVQ:" are no longer missing.
** 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.4 or later) 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 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: 2015-12-20
Tested on Libreoffice 5.0.4 Linux. The tabs on the first page are still missing, the second and third pages seem to have correct tabs although the column layout is still wrong and the page break after the columns is missing.
Created attachment 136842 [details] doc vs docx Still present. Version: 6.0.0.0.alpha0+ Build ID: 892c719fffa06de4c7aeab497326cad7bae9e5c6 CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-27_03:02:09 Locale: en-US (en_US.UTF-8); Calc: group
Focusing on the address part: the paragraph style is header which has tab stops defined at 7.62cm and 15.24cm - the locations where LO places them in .docx. As noted in comment 2, directly applied paragraph styling is overriding that to use the default tabs. LO appears to not saving the default formatting (as is common), but in this case it should since it must override the non-default formatting from the style.
Created attachment 137426 [details] tdf46938_directParagraphDefaultTabs.docx: cleanroom example from Word 2003 <w:pPr> <w:pStyle w:val="tabstops"/> <w:tabs> <w:tab w:val="clear" w:pos="3402"/> </w:tabs> </w:pPr>
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b41d698fa121f3a4d1afdde56f88a135fc71b48a tdf#46938 ooxmlexport: override style tabstops when tabs removed 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.
*** Bug 42125 has been marked as a duplicate of this bug. ***
*** Bug 112460 has been marked as a duplicate of this bug. ***