https://bugs.documentfoundation.org/show_bug.cgi?id=117427
--- Comment #4 from Fernand <[email protected]> ---
Tomaz
i tested with the Windows master from 13/05/2018
"LoadAsLink" is not working properly
function getGraphFromUrlAsLink(sFileUrl as String ) as Object
oProvider = createUnoService("com.sun.star.graphic.GraphicProvider")
Dim oPropsIN(1)as new com.sun.star.beans.PropertyValue
oPropsIN(0).Name = "URL"
oPropsIN(0).Value = converttoURL(sFileUrl)
oPropsIN(1).Name = "LoadAsLink"
oPropsIN(1).Value = TRUE
getGraphFromUrlAsLink = oProvider.queryGraphic(oPropsIN())
end function
"Linked" and "OriginURL" returns empty values
oProvider = createUnoService("com.sun.star.graphic.GraphicProvider")
Dim oPropsDESC(0)as new com.sun.star.beans.PropertyValue
oPropsDESC(0).Name = "URL"
oPropsDESC(0).Value =
converttoURL("http://pmg.pmgroup.be/enews/deroulard/exploit1.jpg")
odesc = oProvider.queryGraphicdescriptor(oPropsDESC())
'xray odesc >> results in
Linked boolean False read-only
'OriginURL string "" read-only
please use the latest attached writer doc to check my macro's
--
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