openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K.Misha" <mi...@4k.com.ua>
Subject RE: insert image into calc document
Date Thu, 08 Aug 2013 19:22:53 GMT
Thanks a lot!<неи<неи-----Original Message-----<неиFrom: Ariel
Constenla-Haile [mailto:arielch@apache.org] <неиSent: Thursday, August 08,
2013 6:51 AM<неиTo: api@openoffice.apache.org<неи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: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message