Summary: | HSSFSheet.getDefaultColumnWidth bug | ||
---|---|---|---|
Product: | POI | Reporter: | macaw zhang <gheorghe_zhang> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.5.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other |
Description
macaw zhang
2003-12-13 08:10:23 UTC
The return value of HSSFSheet.getDefaultColumnWidth is 8. According the document "get the width (in units of 1/256th of a character width ) ", it should be 8*256=2048. HSSFSheet.getDefaultColumnWidth() returns the width measured in characters. HSSFSheet.getColumnWidth() returns the width in units of 1/256th of a character width. Regards, Yegor |