gundinge Posted February 10, 2010 Share Posted February 10, 2010 I am using JasperServer 3.7.0 und iReport 3.7.0when I receive the report in excel format from a scheduled task (defined in JasperServer), the header is not displayed in it. Why?If I saved the Report from preview - view from iReport as excel - the header will be displayed.My property settings in jrxml is following:<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/><property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/><property name="net.sf.jasperreports.export.ignore.page.margins" value="true"/><property name="net.sf.jasperreports.export.xls.ignore.graphics" value="true"/>are they any other property setting to set? many thank for you helpbest regardsStefan Link to comment Share on other sites More sharing options...
gundinge Posted February 12, 2010 Author Share Posted February 12, 2010 nobody can help me? Link to comment Share on other sites More sharing options...
gundinge Posted February 16, 2010 Author Share Posted February 16, 2010 I need help. are the separated setting on jasperserver for exporting excel sheets? Link to comment Share on other sites More sharing options...
tcejones Posted March 22, 2010 Share Posted March 22, 2010 Hi,I am having the same problem. We recently migrated from an old version of Jasper (v2) where everything worked fine. Since moving to 3.7.1, I don't get any page headers, column headers or page footers. All other formats seem fine, but in Excel I only get the Page and detail bands. I've tried ignoring pagination etc. but nothings seems to sort it out. All our reports are Excel so this is also a real issue for us.Can anyone help?Thanks,Trevor.Post Edited by tcejones at 03/22/2010 16:21 Link to comment Share on other sites More sharing options...
tcejones Posted March 22, 2010 Share Posted March 22, 2010 Stefan,I've finally found why we're having this issue, if you're still interested.If you look in jasperreports.properties in the relevant server directory - for Tomcat it's in /webapps/jasperserver/WEB-INF/classes - you'll see the following lines:#suppress page and column headers and footers when exporting to XLS net.sf.jasperreports.export.xls.exclude.origin.band.1=pageHeadernet.sf.jasperreports.export.xls.exclude.origin.band.2=pageFooternet.sf.jasperreports.export.xls.exclude.origin.band.3=columnHeadernet.sf.jasperreports.export.xls.exclude.origin.band.4=columnFooterComment these lines out and and re-run your reports and you should see the headers and footer.Why these were set to true by default I don't know!!!!Regards,Trevor 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