https://bugs.documentfoundation.org/show_bug.cgi?id=165446
--- Comment #7 from Sebastiaan Veld <[email protected]> --- This problem look like to have to do with pictures nearing or stretching the page boundaries. Size of the picture seems to be calculated from the boundary too, not from the current or original size (tough that would make sense to keep the ratio correct, if selected). I ran into an example which I think matches descripbed issue, at least this is the closest bug report I could find. My example is that I export documention pages from my XWiki system to ODF document format. After opening the exported file the pictures in the document stretch over the page boundary. To get the pictures right, I have to resize them. Observations are: * Original picture properties: 1207x525 pixels (~2,3:1) * Open exported odt file in LO, select picture properties. This shows the size as 18,59 cm x 13,45 cm (~1,4:1) which reflect the 'visible area' of the picture in the document, which is not based on original picture size or ratio. As the pictures stretched the page boundary it's still there, just not visible. Attached Picture-resize-issue-01.png and example document Test+page+with+picture+export+to+odt.odt * Select 'Original Size' button, this will show 18,59 cm x 11,11 cm (~1,6:1). The Height is correct here but the Width of the picture seems repored wrong. Originally the picture is larger but is cut off at the page boder (?). The page size is Letter, so Page Style shows Width 21,59. Take left margin 2 cm off minus right margin 1 cm == 18,59 cm which matches the just reported 'original' picture width. * Select 'Keep ratio' and set Width to 14 cm. Height is calculated based on the show 18,59 cm x 11,11 cm (~1,6:1) and calculates 14,00 cm x 6,09 cm (~2,3:1) so the original picture size is used here for resizing and not the reported size. * To test if reported picture size is locked to page size, set the left page margin from 2 cm to 1 cm. The picture properties now reports 19,59 cm x 11,11 cm so the concludes the reported original width is cut off at the usable area of the page. Attached screenshots Picture-resize-issue-01.png to Picture-resize-issue-08.png and example document Test+page+with+picture+export+to+odt.odt I think it's important to do resizing based on the original picture size and ration and not on the reported visible area. For example if I open this document in MS Word and resize the picture, that works fine (so uses the original size and ratio for the resize process). I would also suggest to always have the Keep Ratio checkbox be selected, I guess most cases one would just size a picture up or down, not stretch it. -- You are receiving this mail because: You are the assignee for the bug.
