Ariel Constenla-Haile wrote:
> 
> On Sunday 08 March 2009, 08:56, Ariel Constenla-Haile wrote:
>> Sure you google and found different ways of embedding a text graphic
>> object. The way I like the most is the following:
>>
>> instead of setting the GraphicURL property
>> 
> http://api.openoffice.org/docs/common/ref/com/sun/star/text/TextGraphicObject.html#GraphicURL
>  
> set the Graphic property
>> 
> http://api.openoffice.org/docs/common/ref/com/sun/star/text/TextGraphicObject.html#Graphic
>>
>> Just replace in this example the property name and the object reference
>> 
> http://svn.services.openoffice.org/opengrok/xref/DEV300_m42/odk/examples/java/Text/GraphicsInserter.java#155
> 
> this example is for Writer of course. If you want a generic solution, use
> a 
> com.sun.star.drawing.GraphicObjectShape 
> http://api.openoffice.org/docs/common/ref/com/sun/star/drawing/GraphicObjectShape.html
> 
> In this case, also set the css.graphic.XGraphic instead of the GraphicURL 
> http://api.openoffice.org/docs/common/ref/com/sun/star/drawing/GraphicObjectShape.html#Graphic
> (do not follow the old work-around described in 
> http://codesnippets.services.openoffice.org/Calc/Calc.InsertGfx.snip
> ...mmm this 
> must be updated).
> 
> Regards
> -- 
> Ariel Constenla-Haile
> La Plata, Argentina
> 
> 
> "Aus der Kriegsschule des Lebens
>               - Was mich nicht umbringt,
>       macht mich härter."
>               Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 


thanks a lot Ariel! I'm going to try this now.
thank you very much.
may you never get tired of helping people in this forum. =)
Salamat. (Thank you, in Filipino :) )
-- 
View this message in context: 
http://www.nabble.com/embedding-an-image-to-open-office-documents-tp22386730p22397167.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to