Created attachment 166563 [details] The original attachment #164118 [details] saved by Writer This is a followup to bug #133045 Now that DML shapes vertically positioned relative to top margin can be opened, it would be nice to be able to save them to DOCX format. Steps to reproduce: 1. Open attachment #164118 [details] . Shape positions are now like in Word on attachment #164118 [details] 2. Save as docx, reopen. Actual results: Shapes are incorrectly positioned, relative to line of text of the first paragraph. Expected results: Vertical positions roundtrip correctly. LibreOffice details: Version: 7.1.0.0.alpha0+ (x64) Build ID: e0c72e31c1d455c26110c35e8780d420e17cdea6 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: CL
Created attachment 166564 [details] Screenshot of the original and exported document side by side in Writer
Szabolcs Toth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c690d49770d0c93a95bd8c3d11e95c1d17a17a60 tdf#137641 DOCX export: fix relative from top page border 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.