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

Free Support Forum - aspose.com

Excel file containing shapes with text not converting properly

I have an “.xlsx” file that contains shapes with text inside. When I convert it to PDF, some of those shapes are missing their text in the resulting file. If the file is initially in “.xls” format instead, I do not have this issue. Performing multiple conversions is not ideal though. Below is the code I am using to perform the conversion:

Workbook workbook = new Workbook(in);
workbook.save(out, com.aspose.cells.SaveFormat.PDF);

*Note: “in” is a ByteArrayInputStream containing the contents of the file.


Thanks for the sample code segment and details.

To evaluate your issue precisely, we need your template Excel file. Please zip the MS Excel .xlsx file and post us here, we will check it soon.

Please find the zip file attached. Thanks!

TestSpreadsheet.zip (1.0 MB)

We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSJAVA-43131 – Excel to PDF - Shapes with text not converted properly


This is to inform you that we have resolved your issue. After performing QA and merging other enhancements and fixes, we will soon provide you with a fixed version.


Please try our latest version/fix: Aspose.Cells for Java v20.3.3 (attached)

Your issue should be fixed in it.

Let us know your feedback.
aspose-cells-20.3.3-java.zip (7.0 MB)

The issues you have found earlier (filed as CELLSJAVA-43131) have been fixed in Aspose.Cells for Java v20.4. This message was posted using Bugs notification tool by ahsaniqbalsidiqui