stevanzaric Posted May 8, 2017 Share Posted May 8, 2017 I need to export reports from Jasper to Excel. I am using iReport 5.6.0. The thing that I don't know how to achieve is to export content of a page header band to Excel's header, and similarly, the content of a page footer band to appear in Excel's footer.I'm aware of existing properties, e.g. net.sf.jasperreports.export.xls.sheet.footer.center, but with that I can only set static text in Excel's footer. Link to comment Share on other sites More sharing options...
lisaws Posted May 8, 2017 Share Posted May 8, 2017 There is an equivalent property for setting the header called net.sf.jasperreports.export.xls.sheet.header.center (http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.xls.sheet.header.center).To set a dynamic value - in the Add/modify property window, select the 'Use an expression' checkbox and then you can use whatever expression you want. Link to comment Share on other sites More sharing options...
stevanzaric Posted June 12, 2017 Author Share Posted June 12, 2017 Thank you, but it seems that for global property I cannot set a dyinamic value (there is no 'Use an expression' checkbox). Link to comment Share on other sites More sharing options...
Recommended Posts
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