PPT PPTX ODP POT ppsx
Aspose.Slides  for Java
PPTX

Redact PPTX using Java

Build your own Java apps to find and replace text in presentation files using server-side APIs. Learn how to search and replace text in content, comments or metadata of PPTX presentations

Redact PPTX Presentation via Java

A basic document search and replace text in contents, comments, slide notes or metadata with Aspose.Slides for Java APIs can be done with just few lines of code. Find and replace text in PowerPoint and OpenOffice. Edit text, comments, metadata in presentation via regexp data matching.

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 {
    if (presentation != null) presentation.dispose();
}

How to Redact PPTX via Java

These are the steps to Redact PPTX files.

  1. Load PPTX with an instance of Presentation.

  2. Use FindAndReplaceText method to find and replace text.

  3. Save result in PPTX format

Online PPTX Redaction Live Demos