<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 - FILESAVE DOCX Rounding error when saving line shape width"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126363">126363</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILESAVE DOCX Rounding error when saving line shape width
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.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></table>
<p>
<div>
<pre>Description:
In Word it is possible to set preset widths for line objects: 0.25, 0.5, 0.75,
1.0 etc. points.
After a roundtrip in Writer these are off by 0.01 points, which causes Word to
not recognize them as the preset values.
Steps to Reproduce:
1. Insert a shape in Word
2. Go to Drawing tools -> Shape styles -> Outline and set some predefined
width
3. Save the file, open in Writer, resave.
4. In the Word shape properties side bar under Shape Format -> Line ->
Width you can see the value is off by 0.01 points: 1/4 -> 0.26, 1/2 -> 0.5, 3/4
-> 0.74, 1 -> 0.99, 1.5 -> 1.5, 2.25 -> 2.24, 3 -> 3.01, 4.5 -> 4.51, 6 ->
6.01
Actual Results:
Most values are off 0.01 points
Expected Results:
No rounding errors.
Reproducible: Always
User Profile Reset: No
Additional Info:
LibreOffice details:
Version: 6.4.0.0.alpha0+ (x86)
Build ID: 49422a469646ad8be43ba828ca24c2484c26b9e8
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-07-08_00:50:19
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL</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>