https://bugs.documentfoundation.org/show_bug.cgi?id=89818
Bug ID: 89818 Summary: Bug in page break with image Product: LibreOffice Version: 4.1 all versions Hardware: x86-64 (AMD64) OS: Windows (All) Status: UNCONFIRMED Severity: major Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: rbruen...@spectruma.de Created attachment 113876 --> https://bugs.documentfoundation.org/attachment.cgi?id=113876&action=edit odt and picture files describe the problem Page break does not work well with images. In the attachment, you can find files to reproduce the issue. Image 1 shows the situation after entering a high and narrow image at the bottom of the page. The image is already too high to fit on the page. However, the image and its accompanying paragraph does not get moved to the next page. The image is printed beyond the margins of the page. If there would be a footer, it would get overprinted. Image 2: It gets even worse when there is text entered before. The image moves with the paragraph until the image touches the physical end of the page. It then stays there while the accompanying paragraph moves downward. Image 3: More text - bigger problem! Image 4: This is the maximum. The image is considerably moved relative to the text. I have orphan and widow control on and set to 2 lines. This is the worst that can happen. After entering more text, the paragraph would have to go to the next page. Image 5: Yes, it does. And it takes its accompanying image with it. Now, the world is OK again. (Note: I also tried with orphan and widow control off. The same here. Wrapping to the new page only happens when the first line of the paragraph does not fit on the page.) In step 1, it would already make sense to move the paragraph "Consetetur ..." to the next page and take the image with it, as can be seen in image 5. It is very bad that images do not obey page margins. In step 2, the image looks as to be associated to a different paragraph. Additionally, causing one line to float around the image and the other one not, is not very pleasing. It looks like the page break algorithm only takes the text into account. However, the image has to be considered as well. Never should an image be moved beyond the page margin; this is non-printable area. If there is a footer, it will be partially obscured. Very bad. When you have a document with many images and you are entering new text somewhere, you have to check all images beyond. This is frustrating. The only partial workaround is to use tables (sigh!). A one-line two-column table with the image and the text works. However, letting the text wrap AROUND the image is then no longer possible. I have seen it very often in 4.1. In 4.3.6, the problem still persists. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs