Date: prev next · Thread: first prev next last
August 2020 Archives by date, by thread · List index


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

--- Comment #9 from Kiyotaka Nishibori <ml.nishibori.kiyotaka@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 on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.