PPT PPTX ODP POT ppsx
Aspose.Slides  for Java
ODP

Unlock ODP using Java

Build your own Java apps to remove passwords from PowerPoint and decrypt presentations files using server-side APIs.

Removing Encryption from ODP Presentation via Java

Using Aspose.Slides for Java, you can remove the encryption or password protection on the ODP presentation. This way, users become able to access or modify the ODP presentation without restrictions.

Disabling Password Protection from ODP using Java


LoadOptions loadOptions = new LoadOptions();
loadOptions.setPassword("123123");
Presentation presentation = new Presentation("pres.odp", loadOptions);
try {
    presentation.getProtectionManager().removeEncryption();
    presentation.save("encryption-removed.odp", SaveFormat.Odp);
} finally {
    if (presentation != null) presentation.dispose();
}

Removing Write Protection from ODP Presentation using Java


Presentation presentation = new Presentation("pres.odp");
try {
    presentation.getProtectionManager().removeWriteProtection();
    presentation.save("write-protection-removed.odp", SaveFormat.Odp);
} finally {
    if (presentation != null) presentation.dispose();
}

How to Remove Password From ODP via Java

These are the steps to remove protection from ODP files.

  1. Load ODP with an instance of Presentation

  2. Remove Write Protection using ProtectionManager class

  3. Save result in ODP format

Other Supported Formats

Using Java, You can also remove protection from the following formats: