java - How to give password to protect xlsx sheet using apache poi? -


sheet1.protectsheet("xxxx");

actually tried above code, protecting sheet editing, while enable editing not ask password, how protect password?

read apache poi - encryption support paragraph xml-based formats - encryption. comes source code example. see http://poi.apache.org/encryption.html


Comments

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

python - More Issues with overlapping labels in Tkinter -