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

            Bug ID: 104648
           Summary: Opening a PDF file in draw and inserting a PDF file in
                    draw to then break it is not equivalent
           Product: LibreOffice
           Version: 5.3.0.0.beta2
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 129597
  --> https://bugs.documentfoundation.org/attachment.cgi?id=129597&action=edit
Sample case

LibO 5.3 has a nice functionality to insert PDF files as images.

Once the PDF file is included, one can "break" it to convert it to a series of
native LibO graphic objects that can be edited.

In principle, the above should be equivalent to directly opening the PDF file
in draw, which imports the PDF drawing as a series of LibO graphic objects that
can be edited.

However, there are many PDF files that open fine in draw and that get slightly
mangled when inserted as images and then broken.

Specifically, the PDF file gets inserted correctly, but then, when breking it,
some of its elements get misplaced and spurious background layers appear.

The attached file is a very simple example.

When opened as a drawing in draw, it opens perfectly. If you click on the
background of it, e.g. slightly to the left of the "vi [V]" x-axis label, you
see that there is a white background layer, i.e. a white rectangle as large as
the image acting as the image background. 

When inserted in draw as an image it initially looks perfect. However, when you
break it, the [V] label of the y axis of the plot gets badly misplaced.
Furthermore, there are spurious "background" layers. If you click on the
background,  e.g. slightly to the left of the "vi [V]" x-axis label, you see
that there is a white background layer, i.e. a white rectangle as large as the
image acting as the image background. If you erase it, and you click again in
the same point, you find another identical white rectangle. If you erase it and
you click again in the same point, you find a third identical white rectangle.

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

Reply via email to