Hi Fernand,

> Need to show Embeded Images in a UnoControlImageControlModel.
> 
> Giving a "normal URL"  to the ImageURL property works  fine,  but 
> "Internal URL's "(from embedded Images) do not works
> 
> Is there a workaround ?
> 
> Can a "internal" URL been transformed to a "normal" URL ?
> 
>  Tryed to use the Graphic-object of the Imagecontrol, but no luck, btw 
> wathts te purpouse of the Graphic-propterty ?

The ImageURL property can only work with external images (and, IIRC,
with some weird URLs to images embedded into resource files).

The Graphic property is more powerful in that you can give *any* graphic
object, as long as you have an XGraphic interface for it, to the
control. For instance, there's a GraphicProvider service which is able
to load graphics from the images.zip file in your installation.

I am not sure, though, whether Writer has a possibility to obtain
XGraphics from embedded images.

Ciao
Frank

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

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

Reply via email to