We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting XLS to XLSX makes the file corrupt & gives Shape to Image Error on converting the output XLSX to PDF

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!

@Kushal.20,

Please see and follow up your other thread for reference and reply.

The issues you have found earlier (filed as CELLSJAVA-43315) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi