Created attachment 79016 [details] DOCX containing borders with shading Problem description: When loading a DOCX with a page with shaded-borders - LO shows the page with different borders and no shading to the borders. Also - when saving it as DOCX - and opening it in Word - the page's borders are located in a different margin from the page edges and the borders have no shading. Steps to reproduce: 1. Load attached DOCX in LO 2. Page has borders that look different and no shading to borders. 4. Save to NEW.DOCX 5. Load NEW.DOCX in Word 6. Page has borders in different location from edges, and no shading to borders. Current behavior: LO loads DOCX with borders looking different (no shading). LO saves to new DOCX and loses border position and border shading. Expected behavior: LO should load the DOCX and show the borders like Word. LO should save the DOCX to a NEW.DOCX, without losing the border position and border shading. Operating System: Windows 8 Version: 4.0.2.2 release
Thank you for your bug report, I can confirm this bug running LibreOffice 4.0.3.3 on Mac os x 10.8.3. I can see that there is no shading but I have no Word to test is there but I trust you, wen I save the file is indeed moved inside.
Created attachment 80340 [details] ODT file to test the export to DOCX ODT file to test the export to DOCX
Adam Co committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=408d060dff4737d5468e7ff04035f1674a923198 fdo#64350: fix for DOCX export of border space 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.
The above patch fixes the DOCX Export side. DOCX Import is still not working (working on this).
Adam Co committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=86166dea7e300d8aee42f141db1c533648254e6c fdo#64350: fix for page border shadow export 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.