https://bugs.documentfoundation.org/show_bug.cgi?id=133297

            Bug ID: 133297
           Summary: FILEOPEN: Images incorrectly scaled/cropped and text
                    items misplaced in imported MS Publisher 2007 file in
                    DRAW
           Product: LibreOffice
           Version: 7.0.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: andreaer...@libero.it

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;

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to