[Libreoffice-bugs] [Bug 142423] Adjust the default LibO heading sizes to avoid rounding/up down on DOCX export (causing layout shifts)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 22 11:22:29 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142423

Telesto <telesto at surfxs.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Template heading setup      |Adjust the default LibO
                   |using font sizes - like     |heading sizes to avoid
                   |18.2 - not available in     |rounding/up down on DOCX
                   |DOCX (so causing            |export (causing layout
                   |compatibility issues)       |shifts)

--- Comment #4 from Telesto <telesto at surfxs.nl> ---
(In reply to Mike Kaganski from comment #3)
> So what is the issue here? do you suggest to export 18.2 to DOCX
> (impossible, since sz element uses half-points, and so can only contain 18
> or 18.5, not 18.2 - see ECMA-376-1:2016 sect. 17.3.2.38)? or to change the
> defaults in Writer? The issue is absolutely unclear in the description of
> what exactly the perceived problem is.

The issue laymen terms
Layout shifts on DOCX export because of rounding heading size up/down
Desired; preferably no sudden layout changes on DOCX export

Technical perspective
A) Export 18.2 pt size. However as you made clear: ECMA-376-1:2016 sect.
17.3.2.38 doesn't allow this. So no go.
B) Adjust the defaults Heading sizes of LibO so the default setting prevents
rounding/up down DOCX export. So ODT -> DOCX conversion being working out of
the box with stock settings. 
C) Different solution I didn't think of, yet.. 
* Say: Warning that certain setting not being compatible with DOCX

-- 
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/20210522/f5f777ed/attachment.htm>


More information about the Libreoffice-bugs mailing list