Hi Jürgen,

Juergen Schmidt escribió:
But Ariel pointed out that we have this API and that of course this API can be used to convert an URL into a system path. Advantage is that it can be used from Basic and other languages as well.

in *Basic* we already have convertToURL and convertFromURL, so there is no need to use extra code (createUnoService("com.sun.star.ucb.FileContentProvider") ...).

If I used right the LXR Cross Referencer, everything is related and all ends up in sal (/sal/inc/osl/file.hxx):


OOo Basic functions:
RTLFUNC(ConvertToUrl) in /basic/source/runtime/methods1.cxx 1.36 1478-1496
RTLFUNC(ConvertFromUrl) in /basic/source/runtime/methods1.cxx 1.36 1498-1514

FileContentProvider implementation in ucb/source/ucp/file/prov.hxx, ucb/source/ucp/file/prov.cxx 1.47 721-740



Regards
Ariel


--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to