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