C++ API to Convert DOCX to EXCEL or Online App

Export DOCX to EXCEL via C++ without using Microsoft® Word or Microsoft® Excel

 

You can include DOCX to EXCEL conversion feature within your C++ applications easily. By using feature-rich, powerful and easy to use document manipulation and conversion API Aspose.Words for C++ , you can export DOCX to HTML. After that, by using Aspose.Cells for C++ , you can convert HTML to EXCEL. Both APIs come under Aspose.Total for C++ package.

C++ API to Convert DOCX to EXCEL or Online App

  1. Open DOCX file using Document class reference
  2. Convert DOCX to HTML by using Save member function
  3. Load HTML document by using IWorkbook class reference
  4. Save the document to XLSX format using Save member function

Get Started with C++ File Automation 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 .

Access DOCX Document Properties via C++

Aspose.Words for C++ also allows you to access document properties of DOCX file and lets you take an informed decision before the conversion process. To access document properties you can use BuiltInDocumentProperties to obtain built-in properties and CustomDocumentProperties to obtain custom properties. The following code example shows how to enumerate all built-in and custom properties in a document.

Save EXCEL File to Stream via C++

After converting DOCX to EXCEL, Aspose.Cells for C++ enables you to save your document to stream. To save files to a stream, create a MemoryStream or FileStream object and save the file to that stream object by calling the IWorkbook object’s Save method. Specify the desired file format using the SaveFormat enumeration when calling the Save method.

Explore DOCX Conversion Options with C++

Convert DOCX to CSV (Comma Seperated Values)
Convert DOCX to DIF (Data Interchange Format)
Convert DOCX to XLSX (Open XML Workbook)
Convert DOCX to FODS (OpenDocument Flat XML Spreadsheet)
Convert DOCX to JSON (JavaScript Object Notation File)
Convert DOCX to ODP (OpenDocument Presentation Format)
Convert DOCX to ODS (OpenDocument Spreadsheet)
Convert DOCX to POT (Microsoft PowerPoint Template Files)
Convert DOCX to POTM (Microsoft PowerPoint Template File)
Convert DOCX to POTX (Microsoft PowerPoint Template Presentation)
Convert DOCX to PPTX (Open XML presentation Format)
Convert DOCX to PPS (PowerPoint Slide Show)
Convert DOCX to PPSM (Macro-enabled Slide Show)
Convert DOCX to PPSX (PowerPoint Slide Show)
Convert DOCX to PPT (Microsoft PowerPoint 97-2003)
Convert DOCX to PPTM (Macro-enabled Presentation File)
Convert DOCX to PPTX (Open XML presentation Format)
Convert DOCX to SXC (StarOffice Calc Spreadsheet)
Convert DOCX to TSV (Tab Seperated Values)
Convert DOCX to XLAM (Excel Macro-Enabled Add-In)
Convert DOCX to XLS (Microsoft Excel Spreadsheet (Legacy))
Convert DOCX to XLSB (Excel Binary Workbook)
Convert DOCX to XLSM (Macro-enabled Spreadsheet)
Convert DOCX to XLSX (Open XML Workbook)
Convert DOCX to XLT (Excel 97 - 2003 Template)
Convert DOCX to XLTM (Excel Macro-Enabled Template)
Convert DOCX to XLTX (Excel Template)
Convert DOCX to ODP (OpenDocument Presentation Format)
Convert DOCX to POT (Microsoft PowerPoint Template Files)
Convert DOCX to POTM (Microsoft PowerPoint Template File)
Convert DOCX to POTX (Microsoft PowerPoint Template Presentation)
Convert DOCX to PPTX (Open XML presentation Format)
Convert DOCX to PPS (PowerPoint Slide Show)
Convert DOCX to PPSM (Macro-enabled Slide Show)
Convert DOCX to PPSX (PowerPoint Slide Show)
Convert DOCX to PPT (Microsoft PowerPoint 97-2003)
Convert DOCX to PPTM (Macro-enabled Presentation File)
Convert DOCX to PPTX (Open XML presentation Format)

What is DOCX File Format

DOCX is a file format for Word documents, developed by Microsoft. It is a XML-based format that allows for more complex document structures than the older DOC format, and supports features such as document encryption, digital signatures, and watermarks. DOCX files are also smaller in size than their DOC counterparts, making them more efficient to store and transmit.

Read More

What is EXCEL File Format

Microsoft Excel, the popular spreadsheet software, supports several file formats for saving and sharing data. Here are some of the most common Excel file formats include XLS (Excel Spreadsheet), XLSX (Excel Open XML Spreadsheet), CSV (Comma-Separated Values), TXT (Plain Text), PDF (Portable Document Format), ODS (OpenDocument Spreadsheet) and DBF (dBASE File). In addition to these, there are other less common file formats such as XLT, XLTX, and XLTM, which are used for templates, and XML, which is a format used for data exchange between different software applications.

Read More