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

--- Comment #9 from Kiyotaka Nishibori <ml.nishibori.kiyot...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to