<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: Images incorrectly scaled/cropped and text items misplaced in imported MS Publisher 2007 file in DRAW"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=133297">133297</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILEOPEN: Images incorrectly scaled/cropped and text items misplaced in imported MS Publisher 2007 file in DRAW
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.0.0.alpha1+ 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>Draw
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andreaerdna@libero.it
</td>
</tr></table>
<p>
<div>
<pre>Description:
Images in imported MS Publisher 2007 document are incorrectly scaled or cropped
when visualized in DRAW.
Same text items are also slightly incorrectly positioned in the page.
Basically, images in the original Publisher file, are cropped and scaled.
When the original Publisher file is imported in DRAW, the images are only
shrinked/squeezed/stretched to stay in the rectangular dimension.
For example, the first image at the top of the page, in the original Publisher
document, has the following properties:
- position x: 2,6 cm
- position y: 2 cm
- height: 8,712 cm
- width: 8,824 cm
- scaling height: 50 %
- scaling width: 50 %
- left crop: 1,806 cm
- right crop: 1,639 cm
- top crop: 5,933 cm
- bottom crop: 6,433 cm
while the same image, when the Publisher document is imported in DRAW, has the
following properties:
- position x: 2,60 cm
- position y: 1,99 cm
- height: 8,73 cm
- width: 8,83 cm
Steps to Reproduce:
1. Open attached TEST.pub with DRAW
Actual Results:
Images are incorrectly scaled and not cropped and some items are slightly
incorrectly positioned (text items A a, B b, C c, D d)
See:
Exported in PNG format from DRAW
TEST_LO7DRAW.png
Expected Results:
Images are correctly scaled and cropped and items are correctly positioned
See:
Exported in PNG format from Microsoft Publisher
TEST_PUBLISHER.png
See also:
Difference between TEST_LO7DRAW (in red) and TEST_PUBLISHER (in blue)
TEST_DIFFERENCE_LO7DRAW-PUBLISHER.png
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 9a7c5d38a7a43c75c0f3d2f0c725196e916d0260
Thread CPU: 4; SO: Windows 10.0 Build 18362; Resa interfaccia: Skia/Raster;
VCL: win;</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>