[Libreoffice-bugs] [Bug 143219] New: DOCX Problems with wrap distance to text in import/export filters
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 6 19:10:11 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=143219
Bug ID: 143219
Summary: DOCX Problems with wrap distance to text in
import/export filters
Product: LibreOffice
Version: 7.3.0.0 alpha0+ Master
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Keywords: implementationError
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: rb.henschel at t-online.de
Created attachment 173396
--> https://bugs.documentfoundation.org/attachment.cgi?id=173396&action=edit
contour wrap with rotated shape
LibreOffice has only one place for setting the distance between object and
surrounding text, see section 'Spacing' in the 'Wrap' dialog in the UI. Word
has two places to determine this distance. One place are the values distL,
distB, distR and distR, which are available to the user in the UI. The other
place is the effectExtent element. It contains distances, which are introduced
by rotation, fat stroke or by effects like shadow or glow. On import the
'distance to text' values of LibreOffice are set so, that a similar rendering
is achieved. On export to docx, LibreOffice needs to distribute it's values
somehow so that the visual appearance is similar.
Currently this does not work well for rotated shapes or contour wrap.
I put some problems together where the same part of code is touched.
The attachments contain each a shape and a screenshot of rendering in Word.
Attachment "wrapThrough_rotate plus screenshot.docx":
Open attached document. Notice, that left and right 'distance to text' is too
large.
Attachment "stroke18pt_shadow36pt plus screenshot.docx":
Open attached document. You see some differences in rendering. The reason is,
that LibreOffice and Word uses different concepts for contour wrap. But that is
not to be discussed here. Save the document without changes to docx format.
Open the saved document in Word or in LibreOffice. You will see a large
'distance to text' which does not exist in the original document.
Attachment "glow36pt_rot135_wrapThrough plus screenshot.docx":
Open attached document. Notice that the right distance to text is too small.
Save the document without changes to docx format and open the saved document in
Word. Notice that the 'distance to text' is far too large.
--
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/20210706/9203ac73/attachment.htm>
More information about the Libreoffice-bugs
mailing list