Created attachment 80784 [details]
DOCX containing text and a picture with 'Square' wrapping style and '9pt' distance from text
Attached is a DOCX with text and a picture with 'Square' wrapping style. In addition the picture has in the 'Text Wrapping' the following setting of '9pt' distance from the right and left sides of the text.
When saving in LO as a NEW.DOCX - the 'distance from text' property is exported as '0pt'.
Steps to reproduce:
1. Open the attached DOCX
2. Save document as NEW.DOCX
3. Open the NEW.DOCX in Word
4. the picture's distance from text is 0pt instead of 9pt (from left and right).
When exporting to DOCX - the 'distance from text' property it reset to 0pt.
When exporting to DOCX - the 'distance from text' property should be exported correctly.
Operating System: Windows 8
Version: 22.214.171.124.alpha0+ Master
I can reproduce this using Mac OSX 10.8.3 with LibreOffice Version: 126.96.36.199
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155; and Word for Mac 2011.
Adam Co committed a patch related to this issue.
It has been pushed to "master":
fdo#65718 : fix for exporting of image distance from text
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: 188.8.131.52.alpha1+
Build ID: 48eccfb812284f43ba24c3be3903537ce954944d
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-16_00:35:19
Thanks Adam :-)!