Bug 25496 - HSSFSheet.getDefaultColumnWidth bug
Summary: HSSFSheet.getDefaultColumnWidth bug
Status: RESOLVED WONTFIX
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 1.5.1
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-13 08:10 UTC by macaw zhang
Modified: 2008-04-02 03:27 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 1 macaw zhang 2003-12-13 09:05:18 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.
Comment 2 Yegor Kozlov 2008-04-02 03:27:34 UTC
HSSFSheet.getDefaultColumnWidth() returns the width measured in characters.
HSSFSheet.getColumnWidth() returns the width in units of 1/256th of a character width.

Regards,
Yegor