Created attachment 96766 [details] Contains Title Style. Text is divided into two columns. Steps to reproduce : 1] Open attached DOCX in LO 2] Perform save_as 3] Open saved file in MS Office 2010 Current behavior : 1) Justification is changed from Center to Left. 2) Text is no more Bold. 3) Font Name is converted from Arial to Times New Roman. 4) Text Size is changed. Expected behavior : 1) Justification should be "Center". 2) Text should be "Bold". 3) Font Name should be "Arial". 4) Text Size should be "18". Problem at both Import and Export side.
All mentioned behavior reproducible, tested using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha0+ Build ID: 37672f11a72723040b1c9452772dc6e12409e6cd TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-03-29_00:52:28 Kind regards, Joren
Created attachment 96950 [details] 4.2.3.3: before save In libreOffice 4.2.3.3, when I first open the docx file, it looks like this.
Created attachment 96951 [details] 4.2.3.3: after save as docx in 4.2.3.3, when save the docx as docx again, and reopen, it looks like this.
Created attachment 96952 [details] the new "saved as" docx file this is the new docx file I "saved as" from the original file. * two columns become one column; * format is different. This behavior is different from the original bug descrption in comment 1. Should a new bug be filed?
Also, when I see this commit: https://gerrit.libreoffice.org/#/c/8847/ It seems that Bug 76255 should be a duplicate of this bug 76934 ?
Pallavi Jadhav committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ef8293485adbf6554569ca37b8c1bf8cce955842 fdo#76934 : DOCX: Preservation: AutoSpacing property not getting preserved. 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.
Looks fixed to me, tested using Windows 8.1 with LibreOffice Version: 4.4.0.0.alpha0+ Build ID: b447687292334687a371b66d7ad56ba9662b898e TinderBox: Win-x86@39, Branch:master, Time: 2014-06-03_06:24:04 Looks like 'Heading 1' (the words) are not retained. The style itself is. There is an empty line where 'Heading 1' should be visible. Kind regards, Joren
Yes. As you said Heading 1 word is not preserved in the RT document. I checked on the build before my fix got merged. When I opened the RT in MS Office-2010, the behavior was same i.e. Heading 1 word was missing. I am attaching the RT file dated 29-May-2014(Code merged on 2-June-2014). In this RT you can observe that Heading 1 is missing and also the "AutoSpacing" is missing for Title style in styles.xml. That means no regression due my changes :) Thanks for your Input.
Created attachment 100454 [details] RT file dated 29-May-2014
Thanks for your reply Pallavi :-) (In reply to comment #8) > In this RT you can observe that Heading 1 is missing and also the > "AutoSpacing" is missing for Title style in styles.xml. > That means no regression due my changes :) Sure, I didn't check with previous versions and was especially not pointing to your fix :-). It was just an observation of roundtripped file after the fix. You want me to open a new bug report for that? Thank you for your work :-)! Kind regards, Joren