Request Description
Customer created a report with hyperlinks and need to disable them in export to MS Excel
Solution
JasperReports library has a few properties to ignore hyperlinks for most popular export format:
net.sf.jasperreports.export.{format}.ignore.hyperlink[/code]
For Excel export you should use
net.sf.jasperreports.export.xls.ignore.hyperlink[/code]
The property should be specified as hyperlink parameter with True boolean value:
<hyperlinkParameter name="net.sf.jasperreports.export.xls.ignore.hyperlink"> <hyperlinkParameterExpression>Boolean.TRUE</hyperlinkParameterExpression></hyperlinkParameter>[/code]
AS-20200922, case 01889949
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