Jump to content

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


Recommended Posts


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 ?




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...