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()