- 博客(0)
- 资源 (1)
- 收藏
- 关注
java aspose-words-20.9-jdk17 word 转 pdf
java aspose word 转 pdf jar包
try {
Document doc = new Document(wordPath);
fileOS = new FileOutputStream(new File(pdfFilePath));
// 保存转换的pdf文件
doc.save(fileOS, SaveFormat.PDF);
} catch (Exception e) {
log.error("error:", e);
} finally {
try {
if (fileOS != null) {
fileO
2020-10-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人