You can include WORD to XLSX 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 WORD to HTML. After that, by using Aspose.Cells for C++ , you can convert HTML to XLSX. Both APIs come under Aspose.Total for C++ package.
C++ API to Convert WORD to XLSX or Online App
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
Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
Access WORD Document Properties via C++
Aspose.Words for C++ also allows you to access document properties of WORD 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 XLSX File to Stream via C++
After converting WORD to XLSX, 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 WORD Conversion Options with C++
What is WORD File Format
There are several file formats associated with Microsoft Word, the most popular word processing software. The most common file formats include DOC (Word Document), DOCX (Word Open XML Document), RTF (Rich Text Format), TXT (Plain Text), PDF (Portable Document Format), ODT (OpenDocument Text) and HTML (Hypertext Markup Language). There are other less common formats such as DOT, DOTM, and DOTX, which are used for document templates, and MHT and MHTML, which are used for saving web pages.Read More
What is XLSX File Format
An XLSX file is a Microsoft Excel Open XML Workbook file. XLSX files are used to store spreadsheet data. They are similar to XLS files but use the XML-based file format developed by Microsoft.XLSX files are created by the Microsoft Excel application. They can be opened and edited by Microsoft Excel, Apple Numbers, and other spreadsheet applications.XLSX files store data in worksheets that contain cells arranged in rows and columns. Each cell can contain text, numbers, or formulas.XLSX files also support features such as charts, pivot tables, and conditional formatting.Read More