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

--- Comment #5 from Lemures Lemniscati <[email protected]> ---
Sorry with the old version.

> I think the root cause is the accumulation of roundings.

I agree. Thank you.


----
This was another test.


Even when I did save it as a .odt file, the size was slightly wrong.

バージョン: 6.4.0.3 (x64)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 8; OS:Windows 10.0 Build 22000; UI render: default; VCL: win; 
ロケール: ja-JP (ja_JP); UIの言語: ja-JP
Calc: threaded


----
1. Create Writer Document.
2. Select from the menu: Format -> Page Style.
3. Set 'A5' to Format in Page Format, and press OK. (Width = 14.80 cm, Height =
21.00 cm).
4. Select from the menu: File -> Save As
5. Save as sample-a5.odt
6. unzip -p sample-a5.odt styles.xml | sed -ze
's|^.*\(<style:page-layout-properties\)|\1|;s|\(</style:page-layout-properties>\).*$|\1|;'

I got:

<style:page-layout-properties fo:page-width="14.801cm"
fo:page-height="21.001cm" style:num-format="1"
style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm"
fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb"
style:footnote-max-height="0cm"><style:footnote-sep style:width="0.018cm"
style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm"
style:line-style="solid" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/></style:page-layout-properties>

The widht and height are
  fo:page-width="14.801cm"
  fo:page-height="21.001cm"
----


And even when creating a new document and save is as sample-a4.odt:

1. Create Writer Document.
2. Select from the menu: Format -> Page Style.
4. Select from the menu: File -> Save As
5. Save as sample-a4.odt
6. unzip -p sample-a4.odt styles.xml | sed -ze
's|^.*\(<style:page-layout-properties\)|\1|;s|\(</style:page-layout-properties>\).*$|\1|;'

I got

<style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm"
style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm"
fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm"
style:writing-mode="lr-tb" style:footnote-max-height="0cm"><style:footnote-sep
style:width="0.018cm" style:distance-before-sep="0.101cm"
style:distance-after-sep="0.101cm" style:line-style="solid"
style:adjustment="left" style:rel-width="25%"
style:color="#000000"/></style:page-layout-properties>

The widht and height are
  fo:page-width="21.001cm"
  fo:page-height="29.7cm"
----

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to