poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olivier.danof...@acoss.fr
Subject How to generate a password-protected XLS file
Date Wed, 22 Jun 2005 14:12:34 GMT
Using HSSF classes you can protect a sheet in your generated XLS file with
"mysheet.setProtect(true);"
How can I protect all the worksheet with a password ?  A "setPassword()"
method exists, but applicable only to
"org.apache.poi.hssf.record.PasswordRecord()" object, which means I must
generate the XLS records directly by POIFS classes. So does anyone have
some example ? Is it possible to generate a wortksheet by HSSF code and had
some special values (like a password) using POIFS code ?



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message