Java XLSX to DOCX API: Accuracy, Flexibility and More. Empower your Java applications with Conholdate.Total API for converting XLSX to DOCX and 150+ additional file types including Word, PowerPoint, PDF, images, CAD, archives and many more with extensive customization options. Try our free online XLSX to DOCX converter tool to quickly see the results in action.
DownloadConvert XLSX files to DOCX files in Java with just three simple steps. First, create a new XLSX to DOCX converter object. Second, specify the input and output file paths. Third, call the convert() method to convert the file. You can view the converted DOCX files as they are, or render them to view as HTML without any external software.
Get the respective assembly files from the downloads or fetch the whole package from Maven to add Conholdate.Total
directly in your workspace.
// Supports converting documents between Word, Excel, PowerPoint, Images, Web, Photoshop, eBook, Metafiles and Diagram file formats. | |
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
Converter converter = new Converter("input.xlsx"); | |
ConvertOptions convertOptions = new FileType().fromExtension("pdf").getConvertOptions(); | |
converter.convert("output.pdf", convertOptions); | |
try (Viewer viewer = new Viewer("output.pdf")) | |
{ | |
HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources("output{0}.html"); | |
viewer.view(viewOptions); | |
} |
Convert your Excel XLSX files to other popular document formats such as PDF, HTML, PowerPoint presentations and Word processing file formats in Java. Load the source XLSX file and save it as a converted document in a variety of supported file formats.
Conholdate documents conversion APIs for Java offer a feature rich and platform independent solution to perform conversions from Excel to 100+ other document formats without requiring any external applications like Microsoft Office to be installed on the system. Choose a list of desired pages from XLSX based on varied page numbers or convert a consecutive range of pages to one of the supported document formats.
Load the source XLSX document using extended options to manage comments, annotations, watermarks and passwords within protected documents during the file conversion process. You can also customize the appearance of the converted DOCX document using a flexible set of document manipulation features.
// Supports converting documents between Word, Excel, PowerPoint, Project, Images, Web, Email, Metafiles and Diagram file formats. | |
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
// Excel to PDF conversion in Java | |
// Instantiate PdfConvertOptions class and call Convert method for Excel Workbook to PDF conversion | |
Converter converter = new Converter("input.xlsx"); | |
PdfConvertOptions options = new PdfConvertOptions(); | |
converter.convert("converted.pdf", options); | |
// Excel to HTML conversion in Java | |
// Instantiate MarkupConvertOptions class and call Convert method for Excel Workbook to HTML conversion | |
Converter converter = new Converter("input.xlsx"); | |
MarkupConvertOptions options = new MarkupConvertOptions(); | |
converter.convert("converted.html", options); | |
// Excel to Word documents conversion in Java | |
// Instantiate WordProcessingConvertOptions class and call Convert method for Excel Workbook to Word conversion | |
Converter converter = new Converter("input.xlsx"); | |
WordProcessingConvertOptions options = new WordProcessingConvertOptions(); | |
converter.convert("converted.docx", options); | |
// Excel to PowerPoint Conversion in Java | |
// Instantiate PresentationConvertOptions class and call Convert method for Excel Workbook to PowerPoint conversion | |
Converter converter = new Converter("input.xlsx"); | |
PresentationConvertOptions options = new PresentationConvertOptions(); | |
converter.convert("converted.pptx", options); |
Accurately load and convert password protected XLSX documents to DOCX within your Java based applications. The Java XLSX to DOCX conversion API also supports rendering remote documents from different sources including S3, Blob, FTP, Stream, URL or a local disk.
The documents information extraction feature not only allows getting the basic information about the source XLSX document but it also supports extracting some valuable file-format specific information such as project start and end dates of a Microsoft Project file, any printing restrictions on a PDF document and list of folders enclosed in an Outlook data file etc.
Effortlessly convert widely used document file formats across multiple operating systems, including Windows, Linux, and macOS. Seamlessly integrate with popular development environments such as NetBeans, IntelliJ IDEA, and Eclipse for enhanced productivity and flexibility.
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
WordProcessingLoadOptions loadOptions = new WordProcessingLoadOptions(); | |
loadOptions.setPassword("12345"); | |
Converter converter = new Converter("input.docx", loadOptions); | |
PdfConvertOptions options = new PdfConvertOptions(); | |
converter.convert("output.pdf, options); |
Leverage the power of the Java Excel worksheet converter library to achieve precise conversion of XLSX files to DOCX while maintaining the fidelity of the original document. Seamlessly add text watermarks to DOCX and other supported formats, with customizable options for font, color, width, height, background, and rotation angle. Take advantage of the library’s extensive capabilities to apply text watermarks to XLSX documents and effortlessly convert them to high-quality DOCX files.
Sometimes, the converted document size may be larger than the original, resulting in longer conversion times. To address this, the document conversion library includes a caching feature to optimize the repetitive conversion process. By implementing the ICache interface through the extension point, developers can customize the cache and manage the conversion process efficiently. With this feature, you can speed up the repetitive DOCX conversion process and control the cache conversion as needed.
The conversion result is saved to the local drive by default but any type of cache storage can be supported by implementing the appropriate interfaces such as Amazon S3, Dropbox, Google Drive, Windows Azure, Reddis or any other.
// Supports converting documents between Word, Excel, PowerPoint, Images, Web, Photoshop, eBook, Metafiles and Diagram file formats. | |
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
Converter converter = new Converter("input.xlsx"); | |
PdfConvertOptions options = new PdfConvertOptions(); | |
WatermarkOptions watermark = new WatermarkOptions(); | |
watermark.setText("Sample watermark"); | |
watermark.setColor(Color.red); | |
watermark.setWidth(100); | |
watermark.setHeight(100); | |
watermark.setBackground(true); | |
options.setWatermark(watermark); | |
converter.convert("output.pdf", options); |
The Conholdate.Total for Java platform provides various options for the demonstration of Excel format conversion projects. Developers can either use high level code examples of GroupDocs or get more control with Aspose examples. Additionally users can utilize the GroupDocs.Conversion examples for both front-end and backend implementation or create their own projects with XLSX to DOCX conversion features using any development environment that supports Java platform such as Eclipse, IntelliJ NetBeans, IntelliJ IDEA or Visual Studio Code.
Conholdate.Total for Java includes all Java APIs offered by Aspose and GroupDocs. Developers can use different APIs for converting XLSX to DOCX however; for the sake of simplicity, we have demonstrated code snippets using GroupDocs.Conversion for Java.
Conholdate.Total for Java integrates APIs from Aspose and GroupDocs to enable Java programmers to perform various document manipulation actions on a wide range of file formats including Word, Excel, PDF, PowerPoint, Visio, HTML and images in Java & J2SE based applications.
Yes, Conholdate.Total APIs can handle the conversion of XLSX documents that are protected with a password. You can specify the password using the appropriate load options when initializing the converter during the conversion process.
Yes, just initialize a Converter object and choose specific pages (1 and 3) from an XLSX file and convert it to DOCX? or any other document type that is supported.
(Portable Document Format)
(Word Processing Files)
(Spreadsheet Files)
(Web Files)
(Digital Image Files)
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word Template File )
(Microsoft Word 2007+ Template File)
(Text Document)
(Rich Text Format)
(Hyper Text Markup Language)
(Hypertext Markup Language File)
(Web Page Archive Format)
(MHTML Web Archive)
(Microsoft Excel Spreadsheet (Legacy))
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Excel Binary Workbook)
(Excel 97 - 2003 Template)
(Excel Template)
(Excel Macro-Enabled Template)
(Excel Macro-Enabled Add-In)
(Comma Seperated Values)
(Tab Seperated Values)
(Data Interchange Format)
(StarOffice Calc Spreadsheet)
(OpenDocument Flat XML Spreadsheet)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(Macro-enabled Slide Show)
(Microsoft PowerPoint Template Files)
(Microsoft PowerPoint Template Presentation)
(Macro-enabled Presentation File)
(Microsoft PowerPoint Template File)
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(OpenDocument Standard Format)
(OpenDocument Presentation Format)
(OpenDocument Spreadsheet)
(Windows Compressed Enhanced Metafile)
(Compressed Windows Metafile)
(Scalar Vector Graphics)
(Compressed Scalable Vector Graphics)
(XML Paper Specifications)
(LaTeX Source Document)
(DICOM Image)
(Windows Metafile)
(Enhanced Metafile Format)
(Bitmap Image File)
(Portable Network Graphic)
(Graphical Interchange Format)
(Joint Photographic Expert Group Image)
(Tagged Image File Format)
(Icon File)
(Raster Web Image Format)
(JPEG 2000 Core Image)
(Truevision Graphics Adapter)
(Photoshop Large Document Format)
(Photoshop Document)
(Open eBook File)
(Markdown Language)
(XML File)
(JavaScript Object Notation File)
(Digital Imaging & Communications)
(Formula One for Data Presentation)
(Joint Photographic Expert Group Image)