]> source.dussan.org Git - poi.git/commit
#58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), which
authorNick Burch <nick@apache.org>
Sat, 24 Oct 2015 23:34:47 +0000 (23:34 +0000)
committerNick Burch <nick@apache.org>
Sat, 24 Oct 2015 23:34:47 +0000 (23:34 +0000)
commitb3f68c4eb4f81cfda99bc449b922c12abf348ade
treeb78e23301ec7ed5c825854abe91f8387fba4f964
parentcbde002fa1356f53b382b97797229ed209ee522f
#58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), which
 DataFormatter didn't properly support, call out to the alternate CellFormat
 instead for the formatting.
This also allows us to enable some disabled parts of DataFormatter unit tests
We still need to rationalise DataFormatter and CellFormatter though, so we
 only have one set of cell formatting logic...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710399 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/ss/usermodel/DataFormatter.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java
src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormat.java
src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java
src/testcases/org/apache/poi/ss/usermodel/BaseTestDataFormat.java
src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java
test-data/spreadsheet/FormatKM.xls
test-data/spreadsheet/FormatKM.xlsx