<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN DOCX Indent of numbered paragraphs based on custom style lost"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=133000#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN DOCX Indent of numbered paragraphs based on custom style lost"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=133000">bug 133000</a>
from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
<pre>Notice that it is only indenting that is wrong - the numbering itself is
correct (as described in <a href="show_bug.cgi?id=133000#c0">Comment 0</a>, but I just want to emphasize that). Also,
this only affects WWNum1, and if those lines are selected, changed to WWNum2,
and then back to WWNum1, then the indenting is correct. So the problem is
somewhere with direct formatting.
My patch had nothing to do with indenting, so this must have exposed some other
problem. (Oh great.) Prior to my patch, CustomStyle had no idea that it was
specifying a numbering. Now it shows that it is connected to WWNum1, and
applies the numbering to new paragraphs that are marked as CustomStyle - like
it should.
It looks like the Style's indenting is being (dynamically - as a style) applied
INSTEAD OF the numbering's indenting on the sublevels. In other words, the
sublevels must not be splattering direct formatting onto the paragraph itself
like they normally do.
<w:style w:type="paragraph" w:customStyle="1" w:styleId="CustomStyle">
<w:name w:val="CustomStyle"/>
<w:pPr>
<w:numPr>
<w:numId w:val="1"/>
</w:numPr>
<w:ind w:left="714" w:hanging="357"/>
</w:pPr>
</w:style></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>