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: 18.104.22.168.alpha0+
Build ID: 37672f11a72723040b1c9452772dc6e12409e6cd
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-03-29_00:52:28
Created attachment 96950 [details]
22.214.171.124: before save
In libreOffice 126.96.36.199, when I first open the docx file, it looks like this.
Created attachment 96951 [details]
188.8.131.52: after save as docx
in 184.108.40.206, 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:
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":
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:
Affected users are encouraged to test the fix and report feedback.
Looks fixed to me, tested using Windows 8.1 with LibreOffice Version: 220.127.116.11.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.
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 :-)!