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


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 is used to assign the file URL to a GraphicObject which is
created afterwards: 

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

The whole function can be found here (starting with line 235): 
https://github.com/openlilylib/LO-ly/blob/master/extension/OOoLilyPond/Tools.xba

Up to LO 6.0 this worked fine. 
In LO 6.1, I commented out the suspect lines step-by-step to find the one
causing the error. 
(The thing is, I don't understand every step. The original developer of the
project has retired and I'm continuing his work...)

Cheers, 
Klaus



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

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.