summaryrefslogtreecommitdiff
path: root/toolkit/source/controls
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2021-07-25 18:04:53 +0200
committerRegina Henschel <rb.henschel@t-online.de>2021-07-27 01:34:02 +0200
commit67f2a99229101757af4f40118f4d3c83ba38648b (patch)
tree5f7d4fd21813612a44d6015510a055265d4b4641 /toolkit/source/controls
parent1dd4a80fa076bedb3a82821517036bad8dd79857 (diff)
tdf#143475 consider Word 2007 rotated image speciality
Usually Word relates effectExtent to a rectangle with swapped width and height, if the object rotation is between 45deg and 135deg. But Word 2007 (=version 12) makes an exception for images (bug?). The patch determines the version from compatibility setting and calculates wrap margins and effectExtent values considering this special feature of Word 2007. I have moved the part for getting the Word version from InteropGrabBag from the local function lcl_getWordCompatibilityMode to DocxExport, because I need it exactly the same way in docxsdrexport.cxx. Change-Id: Icc2f3d0710e29207413fb3810d281a0fd7d82002 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119482 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'toolkit/source/controls')
0 files changed, 0 insertions, 0 deletions