<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Exporting to docx changes page margins under certain conditions"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126105">bug 126105</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Exporting to docx changes page margins under certain conditions"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126105#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Exporting to docx changes page margins under certain conditions"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126105">bug 126105</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>This is not a bug, but a natural result of DOCX limitations. See <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - When using page-border, size of margins increases every time file is saved as DOC(X) (see comment 3)"
href="show_bug.cgi?id=112118">bug 112118</a>
<a href="show_bug.cgi?id=126105#c13">comment 13</a> for some details; what's relevant here is that ECMA-376-1:2016 ch.
17.6.7 (for w:left; also relevant chapters for other borders) specifies that sz
(border width) for lines is measured in 1/8 of a point, and the minimum value
for sz is 2, which means that 2/8 = 1/4 of a pt = 0.25 pt is the minimum width
of the line in DOCX.
Now take into account that in LibreOffice (and in ODF format), the border width
is *added* to margins to offset the page body: try setting page borders to e.g.
9 pt, and look closely at the position of text when confirming the change. So,
in order to *keep the page body* as in the original, LibreOffice has to
decrease margins a little, otherwise page body would shrink.
So - no bug here; having different document models, some things simply have no
1:1 mapping between formats. Use native format to have best fidelity; nothing
can be improved in this case.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>