PPT PPTX ODP POT PPSX
Aspose.Slides  for Java
PPTX

Redact PPTX using Java

Build Java applications that find and replace text in presentation files using server-side APIs.

Redact PPTX Presentation via Java

Using Aspose.Slides for Java , you can find and replace text in PPTX presentations. Use the SlideUtil.findAndReplaceText method to search the presentation and replace matching text with a new value.

Redact PPTX Presentation using Java

Presentation presentation = new Presentation("welcome-to-powerpoint.pptx");
try {
    SlideUtil.findAndReplaceText(presentation, true, "PowerPoint", "Aspose.Slides", null);
    presentation.save("replaced.pptx", SaveFormat.Pptx);
} finally {
    presentation.dispose();
}

How to Redact PPTX via Java

These are the steps to redact PPTX files.

  1. Load the PPTX file with the Presentation class.

  2. Call the SlideUtil.findAndReplaceText method to find and replace text.

  3. Save the updated presentation in PPTX format.

Online PPTX Redaction Live Demos