This java program will convert a Word document to a PDF document using Qoppa’s library jOfficeConvert. // Load the document WordDocument wdoc = new WordDocument ("input.doc"); // Save the document as a PDF file wdoc.saveAsPDF("output.pdf");// Load the document WordDocument wdoc = new WordDocument ("input.doc"); // Save the document as a PDF file wdoc.saveAsPDF("output.pdf");
Category: jOfficeConvert: Convert MS Word To PDF, Convert Excel to PDF
Developer library to convert Microsoft Word documents and Excel spreadsheets to PDF in Java.
jWordConvert Version History
Version v2013R2 – August 16 2013 In this version, we improved a lot our Java Word to PDF conversion library internally. We no longer have 2 different sets of rendering code for the 2 distinct formats: Word 97-2003 (.doc) Word 2007-10 (.docx) We implemented a common document object model for the 2 PDF converters. This […]
Code Sample: Print Word Document in Java
This Java program prints a Word document to a named printer using Qoppa’s library jOfficeConvert (previously jWordConvert).
Code Sample: Java servlet to convert a Word file to PDF on the fly
A Java servlet that reads a Word documents and serves a PDF document to the browser, on the fly using Qoppa’s java library jOfficeConvert (previously jWordConvert).
Code Sample: Convert Word document to Tiff in Java
This Java program converts a Word document to a multi-page TIFF file using Qoppa’s library jOfficeConvert. import com.qoppa.pdf.TIFFOptions; import com.qoppa.office.WordDocument; public class WordToTIFF { public static void main (String [] args) { try { // Load the Word document WordDocument wd = new WordDocument ("input.doc"); // Save the document as a multi-page TIFF file wd.saveDocumentAsTIFF("output.tif", […]
v2013R2 jWordConvert Release
Version v2013R2 – August 16 2013 In this version, we improved a lot our Java Word to PDF conversion library internally. We no longer have 2 different sets of rendering code for the 2 distinct formats: Word 97-2003 (.doc) Word 2007-10 (.docx) We implemented a common document object model for the 2 PDF converters. This allows more […]
v2013R1 jWordConvert Release
Version v2013R1 – March 29, 2013 New Features: 3604 Support for checkboxes (FORMCHECKBOX) fields in .doc files. 3683, 3757, 2833, 2791 Table improvements: indentation first row’s color ‘\f’ (for new page) is ignored inside of tables auto text color value to be readable on background color carriage returns at the end of a table cell […]
v2.1 jWordConvert Release
Version v2.1 – March 6, 2012 New Features: Support for additional image types Support for border widths in tables Support for lines, rectangle and elliptical shapes Support for fully justified list paragraphs Support for enSpace character Paragraph borders Justified text in table cells Fixes: Fixes with tab handling Better positioning of images Fix to lists […]
v2.0 jWordConvert Release
Version v2.0 – Oct 21, 2011 New Features: Support for Word 2007-10 (.docx) documents Convert and merge multiple documents Fixes: Better handling of missing fonts Better handling of table cells and alignment
v1.2 jWordConvert Release
Version v1.2 – June 15, 2011 New Features: Paragraph shading – before only handled shading on tables More Fields Handled – DATE, NUMPAGES, FILENAME fields Support for Having Different Header/Footers on Different Pages Improvements: More Accurate Vertical Spacing: Support for Auto Spacing and Multiline Spacing options. Also improved handling of text ascent, leading and descent […]