Yes, of course. This is a classic example of assuming the problem is harder than it really is. The PackageProperties works for what I need.
Thanks. -----Original Message----- From: Nick Burch [mailto:[email protected]] Sent: Thursday, July 21, 2011 9:26 AM To: POI Users List Subject: RE: InvalidOperation retrieving InputStream On Thu, 21 Jul 2011, Pruitt, Byron S wrote: > I simply need to extract it for read only purposes. You have two choices. One is to use the methods provided by POI to read and manipulate the core properties part - PackagePropertiesPart The other, if you don't want any of the checking or validation or helpers, is simply just to open the file as a regular .zip and read the core part from that Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
