Created attachment 173396 [details] contour wrap with rotated shape LibreOffice has only one place for setting the distance between object and surrounding text, see section 'Spacing' in the 'Wrap' dialog in the UI. Word has two places to determine this distance. One place are the values distL, distB, distR and distR, which are available to the user in the UI. The other place is the effectExtent element. It contains distances, which are introduced by rotation, fat stroke or by effects like shadow or glow. On import the 'distance to text' values of LibreOffice are set so, that a similar rendering is achieved. On export to docx, LibreOffice needs to distribute it's values somehow so that the visual appearance is similar. Currently this does not work well for rotated shapes or contour wrap. I put some problems together where the same part of code is touched. The attachments contain each a shape and a screenshot of rendering in Word. Attachment "wrapThrough_rotate plus screenshot.docx": Open attached document. Notice, that left and right 'distance to text' is too large. Attachment "stroke18pt_shadow36pt plus screenshot.docx": Open attached document. You see some differences in rendering. The reason is, that LibreOffice and Word uses different concepts for contour wrap. But that is not to be discussed here. Save the document without changes to docx format. Open the saved document in Word or in LibreOffice. You will see a large 'distance to text' which does not exist in the original document. Attachment "glow36pt_rot135_wrapThrough plus screenshot.docx": Open attached document. Notice that the right distance to text is too small. Save the document without changes to docx format and open the saved document in Word. Notice that the 'distance to text' is far too large.
Created attachment 173397 [details] fat stroke and shadow
Created attachment 173398 [details] contour wrap with rotated shape with glow effect
Moving to NEW
Regina Henschel committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/af99c01570adc0c9205e1650d10866f80bb8118a tdf#143219 improve docx import/export of contour wrap It will be available in 7.3.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.