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