Hi,
I want to convert an xlsx file into PDF. However, there were some labels missing after the conversion. I tried to convert the same xlsx file online with Aspose online service and the texts were there. I don’t know if there is an opinion to print those missing texts. Please advise
String dataDir = "./abc/";
Workbook book = new Workbook(dataDir + "budget.xlsx");
SaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setWarningCallback(warningInfo -> {
if (warningInfo.getWarningType() == WarningType.FONT_SUBSTITUTION) {
System.out.println(warningInfo.getDescription());
}
});
book.save("./abc/budget.xlsx.pdf", saveOptions);
System.out.println("ConvertWorksheetToImageByPage executed successfully.");
System information
- Aspose Cells Java: 20.7
- Openjdk 14.0.1 2020-04-14
- MacOS Catalina 10.15.3
Input/output files
Archive.zip (975.5 KB)