Bug 48229 - Javadoc for HSSFSheet setWidth is incorrect
Summary: Javadoc for HSSFSheet setWidth is incorrect
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.5-FINAL
Hardware: PC Windows XP
: P2 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 10:28 UTC by benicely
Modified: 2009-11-21 07:49 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description benicely 2009-11-18 10:28:49 UTC
The current javadoc reads:

Throws:
    java.lang.IllegalArgumentException - if width > 65536 (the maximum column width in Excel)

----

The actual maximum column width in Excel is 255, not 256.
http://office.microsoft.com/en-us/excel/HA101375451033.aspx
Comment 1 Yegor Kozlov 2009-11-21 07:49:49 UTC
Fixed in r882931

Thanks,
Yegor