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 2009/02/19 17:15:14 UTC

DO NOT REPLY [Bug 46736] HSSFSheet autosizeColumn() doesn't process formula cells

https://issues.apache.org/bugzilla/show_bug.cgi?id=46736


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Yegor Kozlov <ye...@dinom.ru>  2009-02-19 08:15:13 PST ---
HSSFSheet.autosizeColumn() operates on static, i.e. non-formula cell values. It
wasn't written with formula evaluation in mind and I don't think we should
change it that way. 

However, your post suggests a natural improvement to use the cached formula
result when autosizing columns. If the cached value is wrong or out of date,
you can use HSSFFormulaEvaluator to update it.

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