PPT
PPTX
ODP
POT
PPSX
PPT
Redact PPT using Java
Build Java applications that find and replace text in presentation files using server-side APIs.
Redact PPT Presentation via Java
Using
Aspose.Slides for Java
, you can find and replace text in PPT presentations. Use the SlideUtil.findAndReplaceText method to search the presentation and replace matching text with a new value.
Redact PPT Presentation using Java
Presentation presentation = new Presentation("welcome-to-powerpoint.ppt");
try {
SlideUtil.findAndReplaceText(presentation, true, "PowerPoint", "Aspose.Slides", null);
presentation.save("replaced.ppt", SaveFormat.Ppt);
} finally {
presentation.dispose();
}
How to Redact PPT via Java
These are the steps to redact PPT files.
Load the
PPTfile with thePresentationclass.Call the
SlideUtil.findAndReplaceTextmethod to find and replace text.Save the updated presentation in PPT format.