C++ API to Render PPSX to WORD
Export PPSX to WORD in C++ applications without any Microsoft PowerPoint or Word dependencies
How to Export PPSX to WORD Using C++
Aspose.Total for C++ is complete package of C++ File Format Automation libraries. By using the rich features of the APIs avaiable in the pacakge, we can easily convert PowerPoint PPSX to Word WORD. In order to perform the conversion, you can first use Aspose.Slides for C++ API to convert PPSX to HTML. After that by using feature-rich Word Processing API Aspose.Words for C++ you can convert the HTML to WORD.C++ API to Convert PPSX to WORD
- Load PPSX file using Presentation class reference
- Render PPSX to HTML by using Save member funciton and set Html as SaveFormat
- Load the converted HTML file by using Document class reference
- Save the document to DOCX format by using Save member fucntion
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 to Convert PPSX to WORD
// Load PPSX file
SharedPtr<Presentation> prs = MakeObject<Presentation>(u"input.ppsx");
// Save presentation in HTML format.
prs->Save(u"htmlOutput.html", Aspose::Slides::Export::SaveFormat::Html);
// load HTML with an instance of Document
System::SharedPtr<Document> doc = System::MakeObject<Document>(u"htmlOutput.html");
// save document in DOCX format
doc->Save(u"output.docx");
PPSX What is PPSX File Format?
PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions. When a PPSX file is shared with another user and opened, it starts as PowerPoint show unlike PPTX file that opens in editable mode. The sequence of slide show is the same as in the original presentation. All the slides accompany the images, sounds and other embedded media accompany the presentation slides to the PPSX during the slideshow.
Read MoreDOCX What is DOCX File Format?
DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions.
Read More