« Return to Thread: RV: Embedded Image

RV: Embedded Image

by Emilio Cano - Tecnotur 3000 :: Rate this Message:

Reply to Author | View in Thread

Hello!!

I have not received a response on this issue.
Do you know if you can help me with aything?

 

-----Mensaje original-----
De: Emilio Cano - Tecnotur 3000 [mailto:e.cano@...]
Enviado el: martes, 16 de junio de 2009 13:24
Para: 'dev@...'
Asunto: Embedded Image

 

Hello!
I am a spanish programmer and I have a problem.
I am doing an export to openoffice and try to insert a picture just makes me
so linked, and need to be embedded, how can I do that?
Using Delphi 7.0

The code I use for this is:

 

  Imagen := Document.createInstance('com.sun.star.text.GraphicObject');

 

  Imagen.GraphicURL := ConvertirAURL(archivo);

  Imagen.Width := 3000;

  Imagen.Height := 3000;

 

  Imagen.setPropertyValue('GraphicURL',ConvertirAURL(archivo));

 

  oText.InsertTextContent( oCursor, Imagen, false);

 

Thanks and best regards!

 « Return to Thread: RV: Embedded Image