简体   繁体   English

使用 Java 将 Microsoft Office 文档和 PDF 文档转换为图像文件

[英]Converting Microsoft Office documents and PDF documents to image file with Java

In my current project, I need to convert Microsoft Office documents and PDF documents to image file with Java.在我目前的项目中,我需要使用Java将Microsoft Office文档和PDF文档转换为图像文件。 Is there any open source Java library for that.是否有任何开源 Java 库。 And if so, which is the most reliable?如果是这样,哪个最可靠?

you can try using JODConverter .您可以尝试使用JODConverter

It is a open source project.它是一个开源项目。 The Java OpenDocument Converter, converts documents between different office formats. Java OpenDocument 转换器可在不同办公格式之间转换文档。

Picked from here这里挑选

您还可以使用docx4j将 Office 文档转换为 PDF。

You can use Apache PDFBox for PDF and Apache POI for converting Microsoft office documents.您可以使用 Apache PDFBox for PDF 和 Apache POI 来转换 Microsoft 办公文档。

Apache PDFBox Apache POI Apache PDFBox Apache POI

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM