PDF转Excel非常慢

PDF转Excel非常慢,本地执行大概需要60s,线上也非常慢,而其它pdf文件转excel是比较快的,请问是什么原因呢

代码如下:
public static void changeToExcel(String filePath, String folderNm, Integer page, List excelPathList) {
Document pdfDocument = new Document(filePath);
// Instantiate ExcelSave Option object
ExcelSaveOptions excelsave = new ExcelSaveOptions();
excelsave.setInsertBlankColumnAtFirst(false);
// Save the output in XLS format
//定义文件名
String excelPath = folderNm + page + “.xls”;
pdfDocument.save(excelPath, excelsave);
excelPathList.add(excelPath);
}
对账单_民泰银行_0015_202404.pdf (227.7 KB)

This topic has been moved to the related forum: PDF转Excel非常慢 - Free Support Forum - aspose.com