incubator-odf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Fillot ...@utc.fr>
Subject Re: Adding images without URI
Date Thu, 12 Sep 2013 06:53:49 GMT
On 09/11/2013 06:26 PM, Svante Schubert wrote:
> Am 25.07.2013 12:07, schrieb Christophe Fillot:
>> Hello,
>>
>> I would like to add images in a TextDocument, but I've these images as
>> byte arrays.
>> Unfortunately the TextDocument.newImage() method only supports URI. Is
>> there
>> another way to do that ?
>>
>> Thanks in advance,
>>
>> Christophe
>>
> Out of curiosity, why are you want to add an image without URL?
> In ODF XML an image needs to have an URL (ie. href attribute in the
> draw:image element) to be valid.
The images are generated on-the-fly and are returned as byte arrays.

Christophe


Mime
View raw message