openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: insert image into calc document
Date Thu, 08 Aug 2013 03:51:07 GMT

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("GraphicURL")), 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 You can get one
using the service

See attached code.

Ariel Constenla-Haile
La Plata, Argentina

View raw message