https://bugs.documentfoundation.org/show_bug.cgi?id=153338
Bug ID: 153338 Summary: Wrong position when importing DOC with frame in header that spills outside of page Product: LibreOffice Version: 7.4.5.1 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: filters and storage Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: jorge.moral...@gmail.com Created attachment 185076 --> https://bugs.documentfoundation.org/attachment.cgi?id=185076&action=edit doc file that causes the problem (anonymized so it can be made public) Dear developers, The attached doc file contains a frame in the header that is too wide for the position specified. So the frame goes beyond the right edge of the page (when opened in MS Word one can see this). When I convert the doc using libreoffice, the width of the frame is maintained but the position is changed (shifted left) so the frame's right edge fits just at the right edge of the page. I assume this behavior is not really "a bug" but the result of forcing the frame to fit within the page. If libreoffice must indeed have all frames within the page, can the importer be configured to force frames inside the page by modifying the width/height of the frame rather than its position? In this document, the result of modifying the width rather than the position would be much more desirable (since the part of the frame that spills outside of the page does not have any visible information). I can imagine that changing the width (height) could produce better results not only in this case but in many others. So can the importer be configured to preserve position rather than size? If not, this would be a feature request to enable manual configuration of whether to preserve position or size when forcing frames to fit inside a page . Of course an automatic heuristic that chooses between changing position and trimming size (or a combination of both) based on the fact that trimming white space that falls outside of the page is acceptable might be even better than a manual configuration switch. Thank you for your contributions to the open source community! ------------ By the way I received the original document with the problem described from a customer. I have anonymized it by using a binary editor to replace actual words with xxxxx so it can be placed in the public domain without issue. The issue may be present in versions of libreoffice earlier than the one reported, but this is the one I have access to. (I run libreoffice in linux debian bookworm installed from the package manager) -- You are receiving this mail because: You are the assignee for the bug.