Wiki
Clone wikiAspose Java for Docx4j / Apply-Protection-with-Properties-Access
Aspose.Slides
//Instantiate a Presentation object that represents a PPT file Presentation pres = new Presentation(); //Setting access to document properties in password protected mode pres.getProtectionManager().setEncryptDocumentProperties ( false); //Setting Password pres.getProtectionManager().encrypt("pass");
Download Source Code
For More Examples, Please Visit Aspose Docs
Updated