poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian <ianwal...@hotmail.com>
Subject autoSizeColumn setColumnWidth passed 255
Date Thu, 01 Sep 2011 19:51:53 GMT
When I attempt to use the autoSizeColumn on a column that contains a lot of text
I get the following error.

Is this a known bug?

-------------------------------------------------------------------------

The maximum column width for an individual cell is 255 characters.
java.lang.IllegalArgumentException: The maximum column width for an individual
cell is 255 characters.
	at org.apache.poi.hssf.model.InternalSheet.setColumnWidth(InternalSheet.java)
	at org.apache.poi.hssf.usermodel.HSSFSheet.setColumnWidth(HSSFSheet.java)
	at org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java)
	at org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java)

------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message