HTML JPG PDF XML PPTX
Aspose.Total  for C++
DOC

C++ API to Render PPT to WORD

Export PPT to WORD in C++ applications without any Microsoft PowerPoint or Word dependencies

How to Export PPT 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 PPT to Word WORD. In order to perform the conversion, you can first use Aspose.Slides for C++ API to convert PPT 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 PPT to WORD

  1. Load PPT file using Presentation class reference
  2. Render PPT to HTML by using Save member funciton and set Html as SaveFormat
  3. Load the converted HTML file by using Document class reference
  4. 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 PPT to WORD

// Load PPT file
SharedPtr<Presentation> prs = MakeObject<Presentation>(u"input.ppt");
// 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"); 

PPT What is PPT File Format?

A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Microsoft came up with newer file format for PowerPoint, known as PPTX, from 2007 onwards that is based on Office OpenXML and is different from this binary file format. Several other application programs such as OpenOffice Impress and Apple Keynote can also create PPT files.

Read More

DOCX 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

Other Conversion Options

PPT TO RTF (Rich Text Format)
PPT TO DOT (Microsoft Word Template Files)
PPT TO DOCX (Office 2007+ Word Document)
PPT TO WORDML (Microsoft Word 2003 WordprocessingML)
PPT TO DOCM (Microsoft Word 2007 Marco File)
PPT TO DOC (Microsoft Word Binary Format)
PPT TO DOTM (Microsoft Word 2007+ Template File)
PPT TO OTT (OpenDocument Standard Format)
PPT TO ODT (OpenDocument Text File Format)
PPT TO DOTX (Microsoft Word Template File )