Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi,

On Thu, Aug 30, 2018 at 09:39:18AM -0700, Pusteblumi <benbignoise@gmx.de> 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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.