https://bz.apache.org/bugzilla/show_bug.cgi?id=60184
Bug ID: 60184 Summary: Saved file that uses a XSSFFont without a specifically set FontFamily won't open in Excel Product: POI Version: 3.15-FINAL Hardware: PC Status: NEW Severity: normal Priority: P2 Component: XSSF Assignee: dev@poi.apache.org Reporter: a...@vaadin.com Steps to reproduce: * open a spreadsheet created with Excel. * create a new cell style with workbook.createCellStyle() * create a new XSSFFont with workbook.createFont() * add the font to the new style * add the style to one cell * save the sheet to a new file * try to open the created file in Excel If you add FontFamily to the new font, the resulting file opens without issues. Otherwise it complains about corrupted style. The issue is apparently also present in some sheets with pre-existing styling that are simply loaded to POI and then saved into another sheet. See https://dev.vaadin.com/ticket/20180 for example files and more details. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org