<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE XLSX: cell indent ("stylesheet -> cellXfs -> xf -> alignment: indent") is increased by 3 times when resave an xlsx document (see comment 17)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130104#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE XLSX: cell indent ("stylesheet -> cellXfs -> xf -> alignment: indent") is increased by 3 times when resave an xlsx document (see comment 17)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130104">bug 130104</a>
from <span class="vcard"><a class="email" href="mailto:suokunlong@126.com" title="Kevin Suo <suokunlong@126.com>"> <span class="fn">Kevin Suo</span></a>
</span></b>
<pre>After some experiment I found that the correct calculation to restore the
indent value should be:
<a href="https://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xestyle.cxx?r=b8cfea65#1461">https://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xestyle.cxx?r=b8cfea65#1461</a>:
nTmpIndent = nTmpIndent / (3 * nSpaceWidth )
where the nSpaceWidth is the width of space char for the font in use.
But I don't know how to get the width of space due to my poor understanding of
the code.
This is all I can do. Hope someone could fix this soon.</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>