Convert XLSX to PPTX via C++

Export Excel® XLSX to PPTX within full-functional C++ applications

XLSX to PPTX Conversion on C++

  1. Open XLSX file using IWorkbook member function of Factory class reference
  2. Convert XLSX to PDF and set SaveFormat to Pdf
  3. Load the converted PDF file using Document class reference
  4. Save the document to PPTX format using Save member function and set Pptx as SaveFormat

Get Started with C++ File Format APIs

Install from command line as nuget install Aspose.Total.Cpp or via Package Manager Console of Visual Studio with Install-Package Aspose.Total.Cpp.

Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .

C++ Code for XLSX to PPTX Conversion

// load the XLSX file using Factory::CreateIWorkbook
intrusive_ptr<Aspose::Cells::IWorkbook> wkb = Factory::CreateIWorkbook(u"sourceFile.xlsx");
// save XLSX as PDF
wkb->Save(u"pdfOutput.pdf", SaveFormat_Pdf);
// load the PDF file using Document class reference
auto doc = MakeObject<Document>(u"pdfOutput.pdf");
// save document in PPTX format
doc->Save(u"convertedFile.pptx", SaveFormat::Pptx);

XLSX What is XLSX File Format?

XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. The underlying structure and files can be examined by simply unzipping the .xlsx file.

Read More

PPTX What is PPTX File Format?

Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. A presentation file is a collection of slides where each slide can comprise of text, images, formatting, animations, and other media. These slides are presented to audience in the form of slideshows with custom presentation settings.

Read More

Other Conversion Options

XLSX TO DOC (Microsoft Word Binary Format)
XLSX TO DOCX (Office 2007+ Word Document)