Re: [libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-21 Thread Drew Jensen
XGrphic information I've found in the SDK documentation at sdk/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1graphic_1_1XGraphic.html Wanting use this also, later this week, for reading images into database fields with a python script - so happened to look that up over the weekend. Haven't tried

[libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-21 Thread Pusteblumi
Hi Alex, Alex Thurgood wrote > Look for a message with the following title on the dev mailing list : > > API-CHANGE - dropping string properties which use > vnd.sun.star.GraphicObject URL Thanks for your info. After lots of reading, now I know that I used a deprecated way of loading image

[libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-20 Thread Alexander Thurgood
Le 19/08/2018 à 22:09, Pusteblumi a écrit : Look for a message with the following title on the dev mailing list : API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL Alex -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems?

[libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-20 Thread Alexander Thurgood
Le 19/08/2018 à 22:09, Pusteblumi a écrit : Hi all, I'm guessing that this is all down to the recent rework of the URL resolver for graphics handling and management - seems like you either need to adapt to the new way of doing things, or else, the recent changes have introduced an unfortunate

[libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-19 Thread Pusteblumi
Hi Robert, thanks a lot for your examinations. Robert Großkopf wrote > ... but you will create a string of this. This coudn't work. What do you > wan't to get from the object? You are right, it's only the beginning of the function. I tried to strip it down to a minimal example. The string

Re: [libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-19 Thread Robert Großkopf
Hi Klaus, have tried it a little bit more. URL was wrong the first time. I get the object oBitmaps.getByName( "OOoLilyPond" ) ... but you will create a string of this. This coudn't work. What do you wan't to get from the object? Regards Robert -- Homepage: http://robert.familiegrosskopf.de

Re: [libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-19 Thread Robert Großkopf
Hi Klaus, > ' Load the image into the internal bitmap table: > oBitmaps.insertByName( "OOoLilyPond", ConvertToURL(sFile) ) ' Up to > here, > everything works fine. > sNewURL = oBitmaps.getByName( "OOoLilyPond" ) ' This line causes the > error. So the error is one row above.

[libreoffice-users] Re: LibreOffice Basic macro stops working after upgrade from LO 6.0 to LO 6.1

2018-08-19 Thread Pusteblumi
Hi Robert, thanks for your reply. I have formatted all code snippets as "raw". In the preview, they were still there, but here it seems that nabble has completely removed them. This time, I'll work without formatting. Okay, here is my question again: I have a macro that loads a svg image