Java API to Export XLSX to WORD
On Premise Java API to Export XLSX to WORD without relying on Microsoft Excel®
How to Convert XLSX to WORD via Java API
Rendering XLSX to WORD is a two step process. You’ll first use Aspose.Cells for Java API to convert the given XLSX document to PDF, and then by using Aspose.Pdf for Java API, you can easily convert your PDF document to WORD. Both APIs come under the collection of Aspose.Total for Java file format automation libraries.XLSX to WORD Conversion on Java
Get Started with Java File Format APIs
You can easily use Aspose.Total for Java directly from a Maven based project and include Aspose.Cells and Aspose.Pdf in your pom.xml.
Alternatively, you can get a ZIP file from downloads .
Java Code for XLSX to WORD Conversion
Workbook book = new Workbook("input.xlsx");
// save XLSX as PDF
book.save("pdfOutput.pdf", com.aspose.cells.SaveFormat.AUTO);
// load the PDF file using Document class
Document document = new Document("pdfOutput.pdf");
// save document in DOC format
document.save("output.doc", com.aspose.pdf.SaveFormat.Doc);
XLSX What is XLSX File Format?
XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. The underlying structure and files can be examined by simply unzipping the .xlsx file.
Read MoreDOC 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