Bug 48229

Summary: Javadoc for HSSFSheet setWidth is incorrect
Product: POI Reporter: benicely
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 3.5-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

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