Saved Excel file reports warning when opening (#175)

Hi,


I have an Excel file with Wordart shape in it. When I set font name (“Impact”) for the shape, and save the file, I receive a warning when I try to open that Excel file. Can you help me with this?

Workbook workbook = new Workbook(“a.xlsx”);
Worksheet worksheet = workbook.getWorksheets().get(0);
ShapeCollection shapes = worksheet.getShapes();
Shape shape = shapes.get(0);
Font font = shape.getFont();
font.setName(“Impact”);
workbook.save(“a-a.xlsx”);

Excel file and screenshots of warning are attached to the post.

Cheers,
Zeljko

Hi,


Thanks for using Aspose.Cells.

Please download and use the latest version: Aspose.Cells for Java 17.5.5 and it is working fine. We have tested your sample code with the latest version and the output excel file is opening fine with it. Let us know your feedback and have a good day.

Hi,


Thanks for very quick response. I tried it now with latest Aspose.Cells version and it is working fine.

Cheers,
Zeljko