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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to