<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILEOPEN DOCX Auto value of Spacing Before from numbered list style becomes 0.49 cm"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132807">132807</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILEOPEN DOCX Auto value of Spacing Before from numbered list style becomes 0.49 cm
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>libreoffice@nisz.hu
</td>
</tr>
<tr>
<th>CC</th>
<td>nemeth@numbertext.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>108770
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=160492" name="attach_160492" title="Example file from Word (extended version of the #122342 bugdoc)">attachment 160492</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=160492&action=edit" title="Example file from Word (extended version of the #122342 bugdoc)">[details]</a></span>
Example file from Word (extended version of the #122342 bugdoc)
If we set a Spacing before paragraph property in a style that also contains
numbering, the Auto value is interpreted as 0.49 cm in some cases where it
should be 0.
Steps to reproduce:
1. Open attached document. It contains a CustomStyle applied to some
paragraphs. This style contains numbering and Spacing before is set to Auto.
Actual results:
The Spacing before should be 0 in these cases:
- If the paragraph is following another paragraph with the same numbered style
(#2, #3 #5 – bad)
- If the paragraph is the first paragraph in a table (#4 #6 #7 - good)
The spacing should not be 0 if:
- The paragraph is following a non-numbered paragraph (#1 - good)
- The paragraph is following a numbered paragraph with the CustomStyle, but the
numbering is removed from it (the ones after #6 and #8 - good)
- The paragraph is after a table (#8 – good)
Expected results:
Same appearance as in Word.
LibreOffice details:
Version: 7.0.0.0.alpha1+ (x86)
Build ID: 7e257697f0006d8247a23ac91...
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win;
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] DOCX (OOXML) bullet and numbering list-related issues"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108770">Bug 108770</a>] [META] DOCX (OOXML) bullet and numbering list-related issues
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>