[Libreoffice-bugs] [Bug 118254] Replacement of SVGFilter by SVGIO seems to break extensions (e.g. TeXMaths)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 6 12:15:21 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118254
--- Comment #6 from Katarina Behrens (CIB) <Katarina.Behrens at cib.de> ---
This is the problematic part of TeXMaths and also a minimal macro that can be
used as a testcase reproducing the bug:
<code>
Sub Main
' Import the graphic from URL into a new draw document
Dim arg1(0) as New com.sun.star.beans.PropertyValue
Dim oDrawDoc as Variant, oDrawDocCtrl as Variant
arg1(0).Name = "Hidden"
arg1(0).Value = TRUE
oDrawDoc =
StarDesktop.loadComponentFromURL("file:///home/bubli/Pictures/bubli.svg",
"_blank", 0, arg1() )
oDrawDocCtrl = oDrawDoc.getCurrentController
End Sub
</code>
oDrawDoc is empty b/c loadComponentFromURL fails with *any* SVG file. However,
comment out 'Hidden' attribute and it magically starts to work again.
--
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/20180706/6bc4ff32/attachment.html>
More information about the Libreoffice-bugs
mailing list