Created attachment 163408 [details] Example file from Writer with image Attached simple document contains an image and text. The image was inserted with default settings by dragging from the file manager, and got 0.25 cm spacing. Saving this file to DOCX loses this spacing, resulting in different text layout around the image. Steps to reproduce: 1. Insert and image and wrap it with text. 2. In the image properties dialog on the Wrap tab there is 0.25 cm spacing in all directions 3. Save it as docx, reopen the file Actual results: Spacing is now 0, text layout changes. Expected results: Spacing survives roundtrip. LibreOffice details: Version: 7.1.0.0.alpha0+ (x64) Build ID: b1c83b68bfbf3477fa6a8f4c79c53f6f9ab31f8e CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL
Created attachment 163409 [details] The original file saved by Writer
Created attachment 163410 [details] Screenshot of the original and exported document side by side in Writer
Regényi Balázs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fe72feef80a4336be9a57a8137839de1d52b2601 tdf#135047 DOCX export: fix spacing around objects It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Version: 7.1.0.0.alpha0+ (x64) Build ID: 34a09c9c61bff30e8c4d16132bb47b2b1b16e422 CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded