Bug 47942

Summary: document protection implementation
Product: POI Reporter: Roberto Albertini <r.albertini>
Component: XWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: diff file and new binary files

Description Roberto Albertini 2009-10-06 02:17:09 UTC
Created attachment 24346 [details]
diff file and new binary files

it is now possible to enforce all types of document protection, and to
recognize them.

Enforcement is implemented only without password

sample methods for readOnly protection:
XWPFDocument.enforceReadonlyProtection() 
XWPFDocument.isEnforcedReadonlyProtection()
XWPFDocument.removeProtectionEnforcement()