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() ;
Image.getOdfEelment();

More information please reference the cookbook[2].

Hope my answer can help you.

[1] http://incubator.apache.org/odftoolkit/simple/index.html
[2]
http://incubator.apache.org/odftoolkit/simple/document/cookbook/Cell.html#Set%20image


2011/12/3 ikeamanual <[email protected]>

> 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
>



-- 
-Devin

Reply via email to