[Libreoffice-bugs] [Bug 138782] New: FILEOPEN DOCX Horizontal position of shape anchored to paragraph wrapping around another shape is incorrect
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 9 17:31:18 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=138782
Bug ID: 138782
Summary: FILEOPEN DOCX Horizontal position of shape anchored to
paragraph wrapping around another shape is incorrect
Product: LibreOffice
Version: 4.1.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: filter:docx
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: libreoffice at nisz.hu
CC: nemeth at numbertext.org
Blocks: 120466
Created attachment 168009
--> https://bugs.documentfoundation.org/attachment.cgi?id=168009&action=edit
Example file from Word
Attached file contains some loremipsum text and shapes that have empty
paragraphs wrapping around them. Their horizontal positioning is the default
that Word 13 gives them: to column.
Another shape next to them is anchored to such wrapping empty paragraphs, while
a third one is anchored to the same paragraph as the first shape.
This is repeated in one column setting and both column of a two column section.
When opened in Writer the shape anchored to a wrapping paragraph is incorrectly
positioned: horizontally it is shifted by the width of the first shape that is
wrapped by its anchoring paragraph.
The first shape and the shape anchored to the same paragraph as the first one
is correctly positioned horizontally.
Writer shows the horizontal positioning of all these shapes as to “Paragraph
area” but to have the same layout as Word has, the horizontal positioning
should be to “Left paragraph border”.
(Which may be to “Right paragraph border” in case of RTL documents...)
Of course thought must be given to DOCX save interoperability: manually
changing the horizontal alignment creates the desired layout, but there is no
similar option in DOCX, so the changed layout does not survive saving.
Maybe just the layout should be a bit more clever.
Steps to reproduce:
1. Open attached document
2. Observe the position of the shapes
Actual results:
The orange and green shapes are more to the right below the purple ones.
Expected results:
Layout as in Word.
LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 796c7f612603490dda9277ced0f6ab3cce3bc116
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Also in:
Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Windows 6.3; UI render: default;
Locale: en-US (hu_HU); Calc: CL
Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)
Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Not yet in:
Verzió: 4.1.0.4
Build az.: 89ea49ddacd9aa532507cbf852f2bb22b1ace28
But the empty paragraphs don’t wrap around the first shapes either.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201209/2e70fc84/attachment.htm>
More information about the Libreoffice-bugs
mailing list