Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-10-11 Thread Pusteblumi
Hi Miklos, Miklos Vajna-4 wrote > Isn't it an option to just not declare the type? Basic is not a > statically typed language after all. Ehm... yes, it is. Cool! I didn't know that this is possible. Just tested with 6.1.2 and 5.3. It works on both versions. Thanks again for fixing that. Cheer

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-10-11 Thread Miklos Vajna
Hi, On Thu, Oct 11, 2018 at 05:12:50AM -0700, Pusteblumi wrote: > Dim sNewUrl As String > sNewURL = oBitmaps.getByName( "OOoLilyPond" ) > but as soon as I declare sNewUrl as "Object" instead of "String", it works > now. (This was not yet the case in 6.1.1.) > > > Miklos Vajna-4 w

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-10-11 Thread Pusteblumi
Hi, Miklos Vajna-4 wrote > The point is that getByName() of that bitmap table now gives you a > Graphic, not just a URL I now tested with the new 6.1.2 Release. I still get an "incorrect property value" error with Dim sNewUrl As String sNewURL = oBitmaps.getByName( "OOoLilyPond" )

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-09-17 Thread Miklos Vajna
Hi, On Fri, Sep 14, 2018 at 12:50:16PM -0700, Pusteblumi wrote: > Will this backport soon be available in a release? > Today, I tested with 6.1.1.2 (x64) and 6.2.0.0.alpha0+ (x64). The problem > persists in both versions. It's in master and on its way to 6.1.2. Care to open a bugreport if it s

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-09-14 Thread Pusteblumi
Hi, Miklos Vajna-4 wrote > sounds like > ; should be backported to > 6.1. thanks for your help, Miklos. Will this backport soon be available in a release? Today, I tested with 6.1.1.2 (x64) and 6.2.0.0.alpha0+ (x64). The problem persists in both ver

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-08-31 Thread Miklos Vajna
Hi, On Thu, Aug 30, 2018 at 09:39:18AM -0700, Pusteblumi wrote: > ' Load the image into the internal bitmap table: > > oBitmaps.insertByName( "OOoLilyPond", ConvertToURL(sFile) ) > ' Up to here, everything works fine. > > sNewURL = oBi

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-08-30 Thread Pusteblumi
Hi Tomaž, sorry if that is a stupid question, but... as Thorsten wrote, many macros make use of GraphicURL for inserting graphics. Is there any documentation what we need to change to make those macros work again? I'm no developer but just an ordinary user who has no clue what do do now... ;-

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-05-05 Thread Drew Jensen
Howdy, Not at all sure this was from anything your work did, but to give you a heads up; Working with the latest daily build (may 4th) under Ubuntu 18.10 (64bit). Entered an issue today https://bugs.documentfoundation.org/show_bug.cgi?id=117435 The issue includes two test ODB files, almost iden

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-04-30 Thread Fernand Vanrie
Tomaž, How can we set the URL (using the API) for inserting a linked image there is no "setGraphicURL" method ? Greetz Fernand ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-04-30 Thread Fernand Vanrie
Tomaž, when the image is "linked" how can we find (using the API) the URL where the image is linked to ? Greetz Fernand ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-04-30 Thread Fernand Vanrie
Tomaž, How should we find out if a image is embeded in the doc or not ? we uses for now: if left(oCheckgraphic1.GraphicURL,27) <> "vnd.sun.star.GraphicObject:" then Greetz Fernand ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-04-28 Thread Tomaž Vajngerl
Hi, On Sat, Apr 28, 2018 at 10:34 AM, Drew Jensen wrote: > Howdy list, > > Reading over this, and sorry if this is a naive question, but I was > wondering if this could effect the way image controls work in forms and > reports. > > When an imagecontrol on a form (or Report Builder report) is link

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-04-27 Thread Drew Jensen
Howdy list, Reading over this, and sorry if this is a naive question, but I was wondering if this could effect the way image controls work in forms and reports. When an imagecontrol on a form (or Report Builder report) is linked to a character field in a data table the control reads a URL from th

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-04-27 Thread Tomaž Vajngerl
Hi, I'm have the API changes pending in gerrit [1] now (they need to pass the build) which are due to image handling rework. All the old properties that used the vnd.sun.star.GraphicObject URL scheme are still functioning, but only to set the property and only when an external URLs is provided (it

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread Thorsten Behrens
Hi Tomaž, Tomaž Vajngerl wrote: > Just for clarification - they are marked deprecated in the idl files > for now, but in the code they don't exist anymore. > Hmm, but e.g. for GraphicObjectShape, the property is not optional, so that's an API breakage? > If the properties should still exist for b

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread sos
On 13/03/2018 13:23, Tomaž Vajngerl wrote: Hi, On Tue, Mar 13, 2018 at 8:54 PM, sos wrote: Hallo Tomaž, We are heavy users off the Image API so lots off code repair ahead :-) Reading your blog comments, it is not clear for me where the Original ImageURL (URL adress on a server) could been sto

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread Tomaž Vajngerl
Hi, On Tue, Mar 13, 2018 at 8:54 PM, sos wrote: > Hallo Tomaž, > We are heavy users off the Image API so lots off code repair ahead :-) > Reading your blog comments, it is not clear for me where the Original > ImageURL (URL adress on a server) could been stored. > Can you add a aditional proptert

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread Tomaž Vajngerl
Hi, On Tue, Mar 13, 2018 at 8:06 PM, Thorsten Behrens wrote: > Tomaž Vajngerl wrote: >> I'm working on image handling re-work [1] [2] [3] and I need to drop >> the GraphicURL >> > [snip] > > Hey Tomaž, > > thx for the heads-up, and thx for currently only deprecating the > GraphicURL properties. E

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread sos
Hallo Tomaž, We are heavy users off the Image API so lots off code repair ahead :-) Reading your blog comments, it is not clear for me where the Original ImageURL (URL adress on a server) could been stored. Can you add a aditional propterty to the graphicobject or to the graphic ? We mostly uses

Re: API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread Thorsten Behrens
Tomaž Vajngerl wrote: > I'm working on image handling re-work [1] [2] [3] and I need to drop > the GraphicURL > [snip] Hey Tomaž, thx for the heads-up, and thx for currently only deprecating the GraphicURL properties. Especially for inserting graphics into documents, that's been the documented wa

API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

2018-03-13 Thread Tomaž Vajngerl
Hi, I'm working on image handling re-work [1] [2] [3] and I need to drop the GraphicURL (and similar properties like BackGraphicURL - see [3] and most of the changes should be contained in [4] patch) of type String and use a property of the type XGraphic. The reason is to make reference-counting s