poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: How to decode format code with numfmtid given is "44" for excel 2007
Date Mon, 20 Feb 2012 11:16:18 GMT
On Mon, 20 Feb 2012, pratik sharma wrote:
> Anyone has any idea How to decode format code with numfmtid given is 
> "44" for excel 2007 ?

Assuming you've got a cell style, just call getDataFormatString() rather 
than getDataFormat():
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/CellStyle.html#getDataFormatString%28%29

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message