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!

Reply via email to