Problem Description:
You have successfully added barcodes to your report in TIBCO Jaspersoft® Studio, and the barcodes are displayed properly when running the report on jasperserver. However, when exporting to Excel, no barcode is shown in the Excel spreadsheet.
Solution:
The default setting is "ignore graphics in the report" for the report. So, it will work if you add the following to the jrxml file where all the properties are in the beginning of the jrxml file,
<property name="net.sf.jasperreports.export.xls.ignore.graphics" value="false"/>
This setting is for the report only. If you add the following to WEB-INF/classes/jasperreports.properties file, restart jasperserver, it should work for all reports when export to Excel.
net.sf.jasperreports.export.xls.ignore.graphics=false
This setting is in the default properties [Window->Preferences->Jaspersoft Studio->Properties->Jasper Reports Properties] in Jaspersoft Studio. That is why it works when exporting from Jaspersoft Studio and not on JasperReports Server.
Recommended Comments
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now