You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Troll <nu...@mail.ru> on 2010/12/01 19:32:57 UTC
Re: Can't obtain the input stream from /docProps/app.xml
no no, i don't use.
Try to delete last sheet from the attached file, save and after open saved
file using Excel. And i'm sure u'll see the error!
http://apache-poi.1045710.n5.nabble.com/file/n3288157/RAW_DATA_CONVERTED.xlsm
RAW_DATA_CONVERTED.xlsm
Actually in delete methos i have next:
OPCPackage opcPackage = OPCPackage.open(filePath);
XSSFWorkbook workbook = new XSSFWorkbook(opcPackage)
workbook.removeSheetAt(number);
workbook.write(new
FileOutputStream("c://BloombergData/CONVERTED/tmp.xlsm"));
--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Can-t-obtain-the-input-stream-from-docProps-app-xml-tp3284222p3288157.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org