You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by ol...@acoss.fr on 2005/06/22 16:12:34 UTC
How to generate a password-protected XLS file
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/