You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2007/08/09 16:35:23 UTC
DO NOT REPLY [Bug 43074] New: - HSSFSheet.getColumnWidth() works incorrectly.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43074>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43074
Summary: HSSFSheet.getColumnWidth() works incorrectly.
Product: POI
Version: 3.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: Bina@math.spbu.ru
Try to use HSSFSheet.getColumnWidth() for any column with default column width.
Result is 8 because default column width is a width of 8 characters. But
HSSFSheet.getColumnWidth() should return number of 1/256 of character width as
Java-doc treats.
So HSSFSheet.getColumnWidth() for column with default width should return 8 *
256 = 2048.
EXPECTED: sheet.getColumnWidth(0) == 2048
OBSERVED: sheet.getColumnWidth(0) == 8
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org