//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