Hello Arial, 

> From: Ariel Constenla-Haile [mailto:arie...@apache.org] 

> I guess you are using the Dialog Editor, I've tried the Property
> Browser, and it does not work well with this protocol: setting
> "Graphics" to
> vnd.sun.star.GraphicObject:10000201000001B10000019D1E3B87B7 is then
> converted to lower case, "graphicobject", which does not work.

Oh yes, i see

> > please note: my document is unsaved, so I can not directly 
> access the
> > pictures folder in the *.odt file.
> 
> You can set the ImageURL property of the control model, it works with
> "vnd.sun.star.GraphicObject:" protocol.

fine thank you

The following code works in my case:

frm_jms = DialogLibraries.Standard.Dialog1
dia_jms = CreateUnoDialog(frm_jms)
dia_jms.getControl("ImageControl1").Model.ImageURL = _
"vnd.sun.star.GraphicObject:10000000000003AC000000DC595EAE83"
dia_jms.execute


Greetings,
Jörg



---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to