Frank Schönheit - Sun Microsystems Germany wrote:
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.


OK i now how to use the provider but : I have a Dialog with a ImageControlModel in it. How can i "show "(after loading with the Provider) the graphic in the Dialog or in the "mageControlModel ???

Thanks for your reply

Ciao
Frank


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

Reply via email to