Jump to content
We've recently updated our Privacy Statement, available here ×

Export to XLSX and CSV ignores ignore original report locale


gregg.dale_1

Recommended Posts

We have locale property bundles for our reports.  When a report is run for a specific locale, date patterns, currency patterns and column headings and labels are determined by these property bundles.  When we display the reports, this works great.  It also works when we export to .PDF, .PPT,  and .XML, but not when we export to .XLSX, .XLS or .CSV.

Does anyone know why this would be?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

There's a property to specify patterns like date format. Defaults in these properties probably is overwriting the resource properties.

e.g.

http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.xls.date.pattern

I'm not sure if it's possible to use locales on jasperreports.properties file.

jasperreports.properties file is located under webapps/jasperserver/WEB-INF/classes/jasperreports.properties

Link to comment
Share on other sites

Actually, the issue is larger in scope than just patterns.  The report, when displayed, shows the column heading names and labels as defined in the appropriate locale property file, but when exported to xlsx and csv, it intermittently shows the default property values instead.

Link to comment
Share on other sites

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