You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Bullard, Luke" <Lu...@pfizer.com> on 2009/05/28 12:20:25 UTC

Extract Embedded OLE Object Picture

Hi,

I've been trying to extract the image that is displayed in a Word
document on behalf of an embedded OLE object and am having problems.
Specifically, when embedding a chemical structure object (ISIS Draw) I
can see the Ole10Native data by using the POIFSReaderListener interface
to iterate the content of the POIFSFileSystem.  However, when
enumerating the pictures using
HWPFDocument.getPicturesTable().getAllPictures(), I do not get the image
that it displayed on behalf of the OLE2 object.

So the question is  - where does the image data get stored for embedded
objects, and how can I get hold of it ?

Any help would be appreciated.

Thanks

Luke