PPT PPTX ODP POT PPSX
Aspose.Slides  for C++
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.

  1. Load the ODP file with the Presentation class.

  2. Use the FindAndReplaceText method to find and replace text.

  3. Save the updated file with SaveFormat::Odp.

Online ODP Search Live Demos