incubator-odf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devin Han <>
Subject Re: OdfDrawImage from OdfTableCell
Date Sun, 04 Dec 2011 06:27:06 GMT
Hi Jan,

I suppose you are using ODFDOM doc API, isn't it?
OK, ODFDOM doc API is deprecated in the coming release and we will not
maintain it in future.

I suggest you replace it with Simple API[1], which is a new convenient API
for ODF Documnet and has very simliar design with ODFDOM doc API. But
Simple API has more powerful features and more performance tuning. You can
migrate to Simple API very easy.

Let's back your question. If you migrate to Simple API, you can use the
following simple code:

Image Cell.getImage() ;

More information please reference the cookbook[2].

Hope my answer can help you.


2011/12/3 ikeamanual <>

> Hi,
> I have a odf cell:
> OdfTableCell cell = table.getCellByPosition(0, 1);
> and in the document the cell only has a picture/Image inside.
> How to I get an OdfDrawImage from the cell?
> thanks,
> Jan


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message