Merge PPS Files using C++

Use Aspose.Slides for C++ to merge PPS files with server-side C++ APIs.

Merge PPS Files Using C++

To merge PPS files, use Aspose.Slides for C++ , a C++ API for working with presentation files. Install the latest package from NuGet or use the Package Manager Console command below.

Command

PM> Install-Package Aspose.Slides.Cpp

Merge PPS Files - C++

auto destinationPresentation = MakeObject<Presentation>(u"first.pps");
auto sourcePresentation = MakeObject<Presentation>(u"second.pps");

for (auto&& slide : sourcePresentation->get_Slides())
{
    destinationPresentation->get_Slides()->AddClone(slide);
}

destinationPresentation->Save(u"merged.pps", SaveFormat::Pps);
sourcePresentation->Dispose();
destinationPresentation->Dispose();

Steps for Merging PPS Files in C++

Merge PPS files with Aspose.Slides for C++ by cloning slides from one presentation into another.

  1. Load the destination and source PPS files with the Presentation class.
  2. Iterate through the source slides with get_Slides.
  3. Add each slide to the destination presentation with AddClone.
  4. Save the merged file with SaveFormat::Pps.

System Requirements

Aspose.Slides for C++ is supported on all major platforms and operating systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows, Linux, macOS, or another compatible OS with the supported C++ runtime.
  • Aspose.Slides for C++ library referenced in your project.

Built with Aspose.Slides

Merge PPS Files Online

The free Aspose.Slides Merger app is built with Aspose.Slides for C++, the same API as the code above. Open it and see what the API can do with your own PPS files.

  • Runs in your browser, nothing to install.
  • See how Aspose.Slides merges files before you write code.
  • Upload several PPS files and combine them into one.
  • Download the merged result as one file.

What is PPS File Format?

PPS (PowerPoint Slide Show) is the binary slide show format used by PowerPoint 97–2003. PPSX is the newer slide show format based on the Office Open XML standard. Current versions of PowerPoint can open PPS files and can still save presentations in PPS format. When opened normally, a PPS file starts in slide show mode, whereas a PPT file opens in editing mode.

Read More