Excel export: show data inside excel header row


when exporting my report to Excel, I would like to put some data (in my case an jpeg) into the excel header row. According to some older posts in this forum, this does not seem to be possible (maybe it works with the help of Java Excel APIs, but I cannot use them inside JasperStudio). 

I also found a "net.sf.jasperreports.export.xls.sheet.header.center" property, but I don´t know how to set a image file there.

Are there any new features in the latest versions of JasperReports, or does anybody know how to write data into Excel header/footer rows?



wisoo123's picture
Joined: Jun 18 2013 - 5:40am
Last seen: 2 years 3 months ago

it looks like "net.sf.jasperreports.export.xls.sheet.header.center" is used for getting the sheet header center value from a excel datasource.


May be you can try initiating a macro when the report generates to include a excel header.

refer : http://thinkinginsoftware.blogspot.com/2011/11/excel-jasper-reports-with...




reportdev - 6 years 1 month ago

Thanks for the advice to use macros in this case. I did already read this blog before, but unfortunately

macros are not allowed in our environment.

wisoo123 - 5 years 11 months ago

0 Answers:

No answers yet