<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 Shape distance from text imported with rounding error"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138895">138895</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILEOPEN DOCX Shape distance from text imported with rounding error
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0.0.5 release
</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>Keywords</th>
<td>bibisected, bisected, regression
</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, vmiklos@collabora.com
</td>
</tr>
<tr>
<th>Blocks</th>
<td>104442
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=168148" name="attach_168148" title="Example file from Word">attachment 168148</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=168148&action=edit" title="Example file from Word">[details]</a></span>
Example file from Word
Attached file was reduced from the <span class="bz_obsolete"><a href="http://bugs.documentfoundation.org/attachment.cgi?id=130189" name="attach_130189" title="Google Docs document">attachment #130189</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=130189&action=edit" title="Google Docs document">[details]</a></span> of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Google Doc export to openxml Word docx displays incorrect spacing between image and text box object in Writer and inserts blank pages"
href="show_bug.cgi?id=105134">bug #105134</a>
This document has some textboxes that have different values set for distance
from text.
These values are imported to Writer with a tiny rounding error.
Steps to reproduce:
1. Open attached file
Actual results:
The last line of the bulleted paragraph is below the textbox with red text.
This is because the distance from text values are a bit incorrectly imported:
- Left: 1.27 cm -> 1.32 cm
- Right: 0.76 cm -> 0.84 cm
- Top and Bottom: 0.51 cm -> 0.56 cm
Expected results:
Same values as in Word.
LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 61d07657caab5e0fb8ec4446f67a7044e14dae4b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Also in:
Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Windows 6.3; UI render: default;
Locale: en-US (hu_HU); Calc: CL
Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)
Not yet in:
Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU
The textbox was imported as shape, with correct distance values. The last line
of the previous paragraph was not broken below the shape, just like in Word.
Additional Information:
Bibisected using bibisect-win32-5.0 to:
URL:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=a5a836d8c43dc9cebbbf8af39bf0142de603a7c6">https://cgit.freedesktop.org/libreoffice/core/commit/?id=a5a836d8c43dc9cebbbf8af39bf0142de603a7c6</a>
author Miklos Vajna <<a href="mailto:vmiklos@collabora.co.uk">vmiklos@collabora.co.uk</a>> 2014-12-04 10:42:40 +0100
committer Miklos Vajna <<a href="mailto:vmiklos@collabora.co.uk">vmiklos@collabora.co.uk</a>> 2014-12-04 11:25:38
+0100
DOCX filter: effect extent should be part of the margin
Adding CC to: Miklos Vajna</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] OOXML shape (DrawingML and VML) related issues"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=104442">Bug 104442</a>] [META] OOXML shape (DrawingML and VML) 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>