[Libreoffice-bugs] [Bug 135572] Margins in sidebar are confusing
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 11 03:47:48 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=135572
--- Comment #9 from Kiyotaka Nishibori <ml.nishibori.kiyotaka at gmail.com> ---
Created attachment 164143
--> https://bugs.documentfoundation.org/attachment.cgi?id=164143&action=edit
margins for "Normal (0.75")" preset in inches
I doubt if SWPAGE_NORMAL_VALUE of 1136 twips is converted to 3/4" (0.75").
See the attachment. This is the screenshot in case that measurement unit has
been set to inch. As you see, when the Normal (0.75") is selected for the
Margins item in Side panel, the all margins are set to not 0.75" but 0.79" in
Page Style dialog.
All margins for Nomal075 are defined as SWPAGE_NORMAL_VALUE [1] [2], and the
SWPAGE_NORMAL_VALUE is defined as 1136 (twips) [3] .
[1]
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/sidebar/PageMarginUtils.hxx?r=01d0032f#91
[2]
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/sidebar/PageMarginUtils.hxx?r=01d0032f#101
[3]
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/sidebar/PageMarginUtils.hxx?r=01d0032f#23
--
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/20200811/7810b2a8/attachment.htm>
More information about the Libreoffice-bugs
mailing list