Hi Peter,

>>The good news is that the online documentation is not up-to-date:
>>http://api.openoffice.org/source/browse/api/offapi/com/sun/star/graphic/MediaProperties.idl?rev=1.5&view=markup
>>tells you that "private:graphicrepository/sw/imglst/lc20556.png" is what
>>you're looking for.
>>Again, not that there is a certain uncertainity when using those URLs,
>>too. You might not rely on files having the same name/location in two
>>different releases (though chances are usually pretty good).
> 
> Didn't know that you're our graphic expert ;) (but dba needs some 
> pictures too).

I ain't, not even remotely :)

I just added this functionality 'cause I needed it for some DBA code,
and found the private:resource to be ugly and hacky.

> Seems to be new from 2.1 upwards.

Ehm, yes, now that you mention it, it's relatively new.

> Btw the MIME-Type has changed from image/png to image/x-vclgraphic if 
> the private URL is queried by the GraphicProvider.

Hmm. Don't know anything about that, sorry.

> Thanks for the good news and have a nice Xmas,

Thanks & Dito.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to