I am using xslx4j to create a simple spreadsheet - but when I try to add style information then try to open the file with Excel 2007 it crashes the application!
Has anyone successfully set style information for cells?
If I just add a 'styles' part with an empty StyleSheet (as below) Excel complains but opens the file (after removing the Style part)
SpreadsheetMLPackage pkg = SpreadsheetMLPackage.createPackage();
WorksheetPart sheet = pkg.createWorksheetPart(new PartName("/xl/worksheets/sheet1.xml"), "Sheet1", 1);
SharedStrings ...