Description: Image rotated to right with crop is exported wrongly to DOCX Steps to Reproduce: 1. open the attached file 2. File save As DOCX 3. File reload Actual Results: Image oversized and and wrong position Expected Results: Similar to ODT Reproducible: Always User Profile Reset: No Additional Info: Found in 7.1 it's 'fine' in 6.0, except the rotation being wrong
Created attachment 164130 [details] Example file
Created attachment 164132 [details] Bibisect log Bisected to author Mike Kaganski <mike.kaganski@collabora.com> 2019-01-26 17:13:28 +0300 committer Mike Kaganski <mike.kaganski@collabora.com> 2019-01-26 17:01:52 +0100 commit b226383a83e41bbced9fc2a02dc09a449401ec97 (patch) tree 721a7715e29e7713b510fc5c15abde5fcb2123f6 parent 916cfdd0110856768e69d84b97f8dee1f60d401e (diff) tdf#116371: export rotation of SwGrfNode https://cgit.freedesktop.org/libreoffice/core/commit/?id=b226383a83e41bbced9fc2a02dc09a449401ec97
This only about the oversized element..
Repro 7.1+. I add Mike to CC, didn't check bibisect myself.
The oversize problem was fixed in 7.2 with: https://git.libreoffice.org/core/+/3dc2e629b247873bfbd3190c11152d8d2bab1a03 author Mike Kaganski <mike.kaganski@collabora.com> Fri Dec 18 13:12:50 2020 +0300 committer Mike Kaganski <mike.kaganski@collabora.com> Fri Dec 18 21:47:14 2020 +0100 tdf#138953: use original (cropped, but unrotated) object size in spPr After this the position still was a bit incorrect, by moving a bit to the right and bottom of the page, until: https://git.libreoffice.org/core/+/0df65d9b1643c651143b51e315c97e732e8a6c00 author Noel Grandin <noelgrandin@gmail.com> Mon Dec 28 13:24:48 2020 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> Tue Dec 29 08:07:51 2020 +0100 use Degree10 in SwRotationGrf Since this the position is correct as well. Thanks Mike & Noel for fixing this :) *** This bug has been marked as a duplicate of bug 138953 ***
Created attachment 174200 [details] The example file and its docx version in current master Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: d1f1f546b212ecd651146addeb328806bb270d5f CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL