Created attachment 167563 [details] .docx file to reproduce the problem Steps to reproduce: - open the attached .docx file in Writer - open the same file in Word - compare => the vertical position of the figure is wrong in Writer
Created attachment 167565 [details] Comparison MSO 2010 and LibreOffice 7.1 master Crop is not applied correctly
Reproduced in Version: 7.1.0.0.beta1+ Build ID: e2cffcf55b04838abc7497f6c18518c7600b670b CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Also reproduced in Version: 5.2.0.0.alpha0+ Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53 Threads 4; Ver: 5.7; Render: default; Version: 4.3.0.0.alpha1+ Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Created attachment 167571 [details] Image positioning settings in Word 2013 and current master Writer Looks like positioning settings are incorrect: - Horizontal is -3.33 cm instead of -3.09 cm - Vertical is -1 cm instead of -3.85 cm
oh, thanks for checking, I was wrong then
Created attachment 174210 [details] Crop settings in Word and Writer So, crop settings are looking fun too: - Left is -1.59 cm in Word, becomes 0 in Writer - Top is -2.86 cm in Word, becomes 0.93 cm top and 1.22 cm bottom. Also the width is scaled to be larger than the page width (22,83 cm) is truncated to 21 cm.
Created attachment 174230 [details] Example file demonstrating the cropped image that goes outside of page area Looks like this boils down to an unusual behavior of Word: a normal uncropped image cannot be moved outside the vertical page borders or into the top and bottom margins area (at least in CompatibilityMode 15). Cropped ones however can! Writer does not allow that, and imports such images inside the visible page area. Apart from that situation, normal crop values seem to be imported correctly, even considering the vast crop model differences.
Created attachment 174231 [details] The extended file in Word and Writer The top images crop rectangle is positioned above the visible page area, the middle ones is left of it, the bottom ones is positioned below the visible area. Writer shows all of them inside the page area.
repro 7.6