]> 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)
commite966499ad270cb4be32faf44df304bef212df632
treeb78e23301ec7ed5c825854abe91f8387fba4f964
parente86a116d0a66a088906c4ed6880c5c6375773a94
#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