Headers and footers not attaching to HSSFSheet.
Created attachment 3605 [details] Patch file for fix to bug.
First, the set methods in Sheet does not do anything useful so this patch would not work as expected. To do anything with headers and footers, just call getHeader() from HSSFSheet (or getFooter()). This will give you access to the header and footer to the sheet without the need of any sort of set method (it stores the reference to the record). FYI: when creating a diff do cvs diff -u. This is the format that most committers want to deal with.