poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <apa...@gagravarr.org>
Subject Re: Password protected workbook working with POI 3.9 but not working POI 3.14
Date Mon, 27 Feb 2017 14:37:08 GMT
On Mon, 27 Feb 2017, Sateesh K Kolusu wrote:
> Yes - we were able to read the same XLSX (not XLS) document with 3.9 
> What changes were made in 3.14 that doesnot work. Do you have any sample 
> program that demonstrates new usage

Look at the source code for WorkbookFactory for one of the methods that 
takes a password. Or, better yet, just switch to using something like
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/WorkbookFactory.html#create(java.io.File,%20java.lang.String)

Nick

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


Mime
View raw message