PPT
PPTX
ODP
POT
PPSX
ODP
Search Text in ODP using C++
Use Aspose.Slides for C++ to find and replace text in presentation files without Microsoft PowerPoint.
Search and Replace Text in ODP Presentation via C++
Aspose.Slides for C++ lets you search text in ODP presentations and replace matching content. Use SlideUtil::FindAndReplaceText with a Presentation object to search slide text and save the updated presentation.
Search Text in ODP Presentation using C++
auto presentation = MakeObject<Presentation>(u"presentation.odp");
SlideUtil::FindAndReplaceText(presentation, true, u"Quarterly Report", u"Annual Report", nullptr);
presentation->Save(u"updated-presentation.odp", SaveFormat::Odp);
presentation->Dispose();
How to Search Text in ODP via C++
These are the steps to search text in ODP files.
Load the ODP file with the
Presentationclass.Use the
FindAndReplaceTextmethod to find and replace text.Save the updated file with
SaveFormat::Odp.