Jump to content
JasperReports Library 7.0 is now available ×

Excel/XLS cell formatting


Recommended Posts

By: beetle - alexdilley

Excel/XLS cell formatting

2006-02-09 08:47

Is there a way of getting the format of cell in an Excel spreadsheet generated by JR to match that of the field in the JR definition file? I've applied the following ExporterParameter to the JRXlsExporter object:

 

net.sf.jasperreports.engine.export.JRXlsExporter.setParameter(net.sf.jasperreports.engine.export.JRXlsExporterParameter.IS_AUTO_DETECT_CELL_TYPE, java.lang.Boolean.TRUE)

 

but this seems to make no difference.

 

Can anyone shed any light on this matter.

 

Thanks,

 

Alex

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...