user_pwd
will not be able to modify the document. AccessPermission ap = new AccessPermission(); ap.setCanModify(false); StandardProtectionPolicy policy = new StandardProtectionPolicy(owner_pwd, user_pwd, ap); doc.protect(policy);@author Benoit Guillon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|