<dependency> <groupId>com.github.jofficeconvert</groupId> <artifactId>jofficeconvert</artifactId> <version>1.0.8</version> </dependency> Note: Check Maven Central for the latest version.
import com.github.jofficeconvert.JOfficeConvert; import java.io.File; public class Converter public static void main(String[] args) File inputDoc = new File("report.docx"); File outputPdf = new File("report.pdf");
JOfficeConvert converter = new JOfficeConvert(); converter.convert(inputDoc).to(outputPdf).execute(); System.out.println("Conversion completed!");
Replace your OpenOffice/LibreOffice conversion stack today and watch your server CPU usage drop by half. Have you used JOfficeConvert? Share your experience or conversion issues in the comments below!
Jofficeconvert -
<dependency> <groupId>com.github.jofficeconvert</groupId> <artifactId>jofficeconvert</artifactId> <version>1.0.8</version> </dependency> Note: Check Maven Central for the latest version.
import com.github.jofficeconvert.JOfficeConvert; import java.io.File; public class Converter public static void main(String[] args) File inputDoc = new File("report.docx"); File outputPdf = new File("report.pdf"); jofficeconvert
JOfficeConvert converter = new JOfficeConvert(); converter.convert(inputDoc).to(outputPdf).execute(); System.out.println("Conversion completed!"); <dependency> <groupId>com
Replace your OpenOffice/LibreOffice conversion stack today and watch your server CPU usage drop by half. Have you used JOfficeConvert? Share your experience or conversion issues in the comments below! File outputPdf = new File("report.pdf")