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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Aug 30, 2018 at 09:39:18AM -0700, Pusteblumi <benbignoise@xxxxxx> wrote:
>         ' 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 "Incorrect property value". 
> 	' Thus the following lines are not executed.

The bitmap table gives you objects implementing the XBitmap interface,
not strings.

> 	oTextGraphic = oDoc.createInstance("com.sun.star.text.GraphicObject")
>         oTextGraphic.GraphicURL = sNewURL 

This is reasonable, sounds like
<https://gerrit.libreoffice.org/#/c/58745/> should be backported to 6.1.

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux