Sorry about that, you are quite correct! I had assumed that the getEscherAggregate.. method would have been defined on the Sheet interface and carried over from HSSF to XSSF but that is not the case. If I have the time, I will look into the way pictures are stored in the xml package. I suspect that it will be possible to discover the information you require by digging around in the relationships, but I do not know this for a fact. If I manage to make any progress, I will let you know.
Of course, this could mean you will have to create two different ways to handle pictures, one for the BIFF8 format files and another for OpenXML. 300Sadder wrote: > > I can only find the only solution of getting the image from excel. > List lst = workbook.getAllPictures(); > But the picture achieved cannot be identify the properties like file name, > and the location in the excel. > I want a function which can be used on excel 2003 and 2007. > Is there a function exist? Is there a way to do it? > Or is this impossbile to do at this stage? > Thanks....... > -- View this message in context: http://www.nabble.com/How-to-get-images-from-excel-%28both-ole2-and-ooxml%29-%21-tp23573155p23585523.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
