Excel export: show data inside excel header row

2

Hi,

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?

Thanks

Wisoo123

wisoo123's picture
Joined: Jun 18 2013 - 5:40am
Last seen: 2 years 1 month 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.

http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasper...

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 - 2 years 4 months 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 - 2 years 2 months ago

0 Answers:

No answers yet
Feedback