poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: Extract embedded content in .xlsx files using xssf eventusermodel
Date Tue, 20 Sep 2011 11:08:01 GMT
On Wed, 14 Sep 2011, Nina wrote:
> I would like to use xssf Eventusermodel to get all embedded content in 
> .xlsx file. Should i first get all sheetparts or the parts of OPCPackage 
> container?

Yes. Embedded content is normally stored as a relation from the sheet 
parts. So, open the container, get the workbook part, and then get the 
sheet parts from that. For each sheet part, get the relations, and check 
to see if any are of a type that interests you (i.e. are embedded 
contents). Process those ones you find

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message