format excel cell with string content as "text" type (not "general") possible in JExcel but not in Jasper ?

0

Hi!

I'm having troubles in Jasper to force the excel cell format to "Text" (instead of "General") when the cell content is a STRING even though it can be easily done in JExcel:
sheet.addCell(new Label(1,1,"test",new WritableCellFormat(NumberFormats.TEXT)))
I believe that the problem is in JExcelApiMetadataExporter, the CellTextValueHandler doesn't try to use the cellComplexFormat if the cell contains a string type.

Is that correct (in which case it would be nice if that problem could be fixed ! :-)), or did I miss anything obvious ?

Regards

kb

 

kb's picture
kb
21
Joined: Sep 24 2012 - 6:26pm
Last seen: 4 years 3 weeks ago

0 Answers:

No answers yet
Feedback
randomness