Summary: | [PATCH] for making "getWorkbook" method public in HSSFWorkbook.java | ||
---|---|---|---|
Product: | POI | Reporter: | Joji John <jjoji> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gwansung76 |
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: | Patch file for the changes suggested in the bug 20146 |
Description
Joji John
2003-05-22 12:38:41 UTC
Created attachment 6455 [details] Patch file for the changes suggested in the bug 20146 If there is functionality NOT provided via the HSSFWorkbook, provide patches to expose that functionality. If you just need low level read access, use the event model. We very deliberately encapsulate this. Just like you cant get the raw bytes from the HttpServletRequest, you can't get the raw metal from HSSFWorkbook. In essence, work with us. dffafa What we do with the Workbook is iterate over all the FormatRecords and call setUnicode(true) on them. Otherwise we're get garbage output when we have sheets with DBCS's like Chinese. I can see why we would want to promote that functionality up a level into the user model. Any suggestions on how to expose this? Perhaps a setUnicode (boolean) in HSSFWorkbook that would apply to all contained formats? |