On Thu, 30 Sep 2010, Thomas P Laford wrote:
Yes. Switching to ooxml-schemas-1.1 fixed the problem and I can now access and change the properties on an Excel 2007 spreadsheet.
If you can do a little unit test for the thing you're doing, we can commit that to svn. That'll do two things - firstly it'll make sure things don't get broken in the future! Secondly, the poi-ooxml-schemas jar is generated from the classes used in the unit testing suite, so it'll then get your extra classes included
I tried to apply the same logic for a Powerpoint 2007 slideshow: FileInputStream pptFileStream = new FileInputStream(pptxInput); OPCPackage pkg = OPCPackage.open(pptFileStream); XSLFSlideShow ss = new XSLFSlideShow(pkg); pkg.close(); pptFileStream.close();
Are you sure you want to close everything at this point? I'd have thought you need to leave the package open while you make changes, that might be the issue you're facing?
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
