Hi !
I actually need to convert my xlsx files to pdf.
But, firstly, before that I need to convert all my xls files to xlsx (as xls format isn’t allowd in my application). In doing so, few of my files when converted to xlsx get corrupted and then while converting to pdf it gives shape to image error.
Following is the code that I am using -
(Using Aspose Cells for JAVA - 19.5)
Workbook wbxlsx;
String sourceFilePath = “D:\ERROR_FILES\”+fileName;
String destFilePath = “D:\ERROR_FILES\”;
wbxlsx = new Workbook(sourceFilePath);
wbxlsx.save(destFilePath+fileName+"_DEMO.xlsx", SaveFormat.XLSX);
Please find the files attached for your reference.
ERROR_FILES.zip (5.4 MB)
Thank you!