You can include WORD to SXC 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 SXC. Both APIs come under Aspose.Total for C++ package.
C++ API to Convert WORD to SXC
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 SXC File to Stream via C++
After converting WORD to SXC, 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.
Other Conversion Options
DOC What is DOC File Format?
Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others.Read More
SXC What is SXC File Format?
The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. This format generally deals with the spreadsheet needs of users as it is an XML based spreadsheet file format. SXC format supports formulas, functions, macros and charts along with DataPilot, which is an incredible feature because it automatically individualizes and provides summaries of raw imported data. The files created with this software are saved with extension .sxc.Read More