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

            Bug ID: 90432
           Summary: FILESAVE: svg export using selection does not work
                    correctly, FIX suggestion included
           Product: LibreOffice
           Version: 4.3.5.2 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 114575
  --> https://bugs.documentfoundation.org/attachment.cgi?id=114575&action=edit
Draw document containing simple object to be exported to using selection.

Exporting selected content from Draw to SVG-format does not work correctly
because clipPath xy-coordinates are allways set to zero, instead of viewBox
coordinates of the svg-element.

This results in the picture showing up only partially or not at all, when
trying to insert the picture to Writer document. The same thing happens if one
tries to view the svg-file in other programs as Firefox or Internet Explorer.

Solution is to set the clipPath-->rect elements x="0" y="0" attributes to the
viewBox-attributes origo.

In addition I would consider removing "clip-path"-attribute from the root
svg-element.  It is redundant, because element:
<g id="id1" class="Slide" clip-path="url(#presentation_clip_path)">  , contains
it also.
I think it might not be good to reference it in multiple places, although I am
not SVG expert.

Other option is to remove the clipPath element and all references to it. 

Attached Draw, Writer and svg-files illustrating the problem. See especially
the writer document.

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

Reply via email to