poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avik Sengupta <avik.sengu...@itellix.com>
Subject RE: Meaning of values of HSSFCellStyle.getDataFormat()
Date Thu, 17 Feb 2005 11:03:43 GMT
On Thu, 2005-02-17 at 10:16 +0100, Andrš Petr (EXT) wrote:
> Anyway, something like HSSFCell.getFormatedCellValue() would be really useful.
Well, its a concious decision in POI to be as close as possible to the
file format as possible (for good or for bad), and not worry about
"rendering" ... xls files store the format and the value separately, and
thats what POI gives you.. the actual formatting is done by Excel the
application, (and that logic is not documented or public), and POI
expects its clients to figure that out.

Having said that, many such functions have a place in the contrib jar,
and if anyone were to supply an implementation for
getFormattedCellValue, it too could be put there. 

To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

View raw message