poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50211] autoSizeColumn calculates wrong column size of formula cells
Date Wed, 10 Nov 2010 09:57:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50211

--- Comment #6 from Yegor Kozlov <yegor@dinom.ru> 2010-11-10 04:57:49 EST ---
Make sure you are using the latest build from trunk. 
The version where the problem is fixed in 3.8-dev, not 3.7. 

On my environment both columns are equally sized. 

BTW, you don't need to call cell1.setCellType(HSSFCell.CELL_TYPE_NUMERIC) 
before setting formula. A call of HSSFCell#setCellFormula automatically changes
the cell type to HSSFCell.CELL_TYPE_FORMULA.


Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message