I recently asked on Twitter whether there was an Apache POI  Groovy builder for generating Excel workbooks. I did find a few blog posts , , but none of the provided builders seemed to offer the ability to write styled and formatted Excel workbooks with possibly multiple sheets.
So I decided to setup a new Github project (what else?) named GSheets . At the current point of time it consists of a single class called ExcelFile, a Groovy builder for Excel workbooks based on HSSF .
As can be seen in the code sample above, ExcelFile gives a simple DSL for specifying styles, table data and commands. The styles section is used to define CellStyle objects. The data section specifies all the (header) rows and the commands section is used to apply styles, merge cells, and do various other operations on the current workbook sheet.
I plan to continuously extend ExcelFile with all the spreadsheet generating features HSSF provides. If you want to contribute, feel free to ping me on Twitter (@asteingr) or this blog.