PPT
PPTX
ODP
POT
ppsx
PPTX
Unlock PPTX using Java
Build your own Java apps to remove passwords from PowerPoint and decrypt presentations files using server-side APIs.
Removing Encryption from PPTX Presentation via Java
Using Aspose.Slides for Java, you can remove the encryption or password protection on the PPTX presentation. This way, users become able to access or modify the PPTX presentation without restrictions.
Disabling Password Protection from PPTX using Java
LoadOptions loadOptions = new LoadOptions();
loadOptions.setPassword("123123");
Presentation presentation = new Presentation("pres.pptx", loadOptions);
try {
presentation.getProtectionManager().removeEncryption();
presentation.save("encryption-removed.pptx", SaveFormat.Pptx);
} finally {
if (presentation != null) presentation.dispose();
}
Removing Write Protection from PPTX Presentation using Java
Presentation presentation = new Presentation("pres.pptx");
try {
presentation.getProtectionManager().removeWriteProtection();
presentation.save("write-protection-removed.pptx", SaveFormat.Pptx);
} finally {
if (presentation != null) presentation.dispose();
}
How to Remove Password From PPTX via Java
These are the steps to remove protection from PPTX files.
Load PPTX with an instance of Presentation
Remove Write Protection using ProtectionManager class
Save result in PPTX format