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.