Thanks a lot!<неи<неи-----Original Message-----<неиFrom: Ariel Constenla-Haile [mailto:[email protected]] <неиSent: Thursday, August 08, 2013 6:51 AM<неиTo: [email protected]<неиSubject: Re: insert image into calc document<неи<неиHi,<неи<неиOn Mon, Aug 05, 2013 at 07:21:28PM +0300, K.Misha wrote:<неи> I have a problem with inserting image into calc document!<неи> <неи> I'm doing it this way:<неи> rColProps->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("Grap<неи> rColProps->hicURL")), makeAny(sstring));<неи<неиIf you want the image embedded inside the document, instead of linked, do not use the "GraphicURL" property, use "Graphic". This property requires an instance of com.sun.star.graphic.XGraphic. You can get one using the service com.sun.star.graphic.GraphicProvider<неи<неиSee attached code.<неи<неи<неиRegards<неи--<неиAriel Constenla-Haile<неиLa Plata, Argentina<неи
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
