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 2017/04/19 17:50:03 UTC

[Bug 61007] cell format evaluation doesn't handle range conditions

https://bz.apache.org/bugzilla/show_bug.cgi?id=61007

--- Comment #1 from Greg Woolsey <gw...@apache.org> ---
Turns out the test that failed when I sent all segmented formats to CellFormat
was checking an invalid expected result.  The value it has, which is currently
returned by POI, doesn't match the value produced by Excel for the same format
string.

Excel produces the value returned by CellFormat.  So I will change the test to
expect the correct value ("correct" defined as the value shown by Excel), and
the logic in DataFormatter to send all multi-part formats to CellFormat.  It
already has a cache of format strings, so parsing will only happen once per
format string per ClassLoader hierarchy.

-- 
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