[Libreoffice-bugs] [Bug 142191] New: SVG export excludes graphic items with hyperlink using javascript

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 10 10:16:22 UTC 2021


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

            Bug ID: 142191
           Summary: SVG export excludes graphic items with hyperlink using
                    javascript
           Product: LibreOffice
           Version: 7.0.5.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: nednet at wanadoo.fr

using LibO with Fedora 33, I'm having trouble with hyperlinks and SVG export.

As soon as I add an hyperlink starting with "javascript:void(0);" to a graphic
item (bitmap, shape, inserted svg, ...) this item is excluded from SVG export.

I expected that it would be inserted in a <a id="whatever"
xlink:href="javascript:void(0);"> markup surrounding the <g> that describes the
graphic item.

Steps to reproduce : insert 2 bitmaps/graphic items in a new document, insert a
classical hyperlink to one of the bitmaps (eg :
"https://bugs.documentfoundation.org"), insert a javascript call hyperlink to
the other (eg : "javascript:void(0);"), export to SVG format : the resulting
SVG file doesn't contain the 2nd item.

My final goal is to promote using LibO-Draw to create SVG files
presented/animated with Sozi and sounded with sonozise (see Sozi github
discussions) to professionnal trainers that are not necesseraly very skilled
with IT. The javascript links are there as very simple way to call a JS
functions that play sounds during Sozi presentation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210510/7e16909e/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list