|Product:||POI||Reporter:||Tony Greening <tgreening>|
|Component:||HSSF||Assignee:||POI Developers List <dev>|
|Attachments:||Patch file for fix to bug.|
Description Tony Greening 2002-10-25 00:58:16 UTC
Headers and footers not attaching to HSSFSheet.
Comment 1 Tony Greening 2002-10-25 01:01:16 UTC
Created attachment 3605 [details] Patch file for fix to bug.
Comment 2 Shawn Laubach 2002-10-25 01:50:52 UTC
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.