https://bugs.documentfoundation.org/show_bug.cgi?id=167770
Bug ID: 167770
Summary: FILEOPEN DOCX: image/shape left/right margin (aka text
wrap) should be zero when left/right aligned
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bisected, filter:docx
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 120466
Created attachment 202140
--> https://bugs.documentfoundation.org/attachment.cgi?id=202140&action=edit
marginLeftRight.docx: containing both image and shapes with 2cm margins
When a floating object is aligned to the "left" of the page/paragraph, then it
should hug that left position, and not have a "text wrap" gap.
At least that is how MS Word lays it out (which makes sense). LibreOffice calls
it a "margin" and always applies it. So during import, just force the margin to
zero. (This is what has already been done since OOo, but not all cases were
handled.)
Cases already handled:
-pictures: FRAME (paragraph) and PAGE_PRINT_AREA (page margin)
-shapes: PAGE_PRINT_AREA (left only)
PRINT_AREA (paragraph margin) became an exposed issue with
24.8 commit eacf8dc7ab850f2d00bd4b327f830c55cf2a0d92
Author: Justin Luth on Tue Mar 5 19:22:34 2024 -0500
tdf#160049 dml import: use margins with left/right HoriOrientRelation
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164443
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=120466
[Bug 120466] [META] DOCX (OOXML) anchor and text wrapping bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.