Category: | Enhancement request |
Priority: | Normal |
Status: | Resolved |
Project: | Severity: | Minor |
Resolution: | Fixed |
|
Component: | Reproducibility: | N/A |
Assigned to: |
Currently, only text string can be set to excel page header/footer using properties such as
net.sf.jasperreports.export.xls.sheet.header.right
If I set the value to "&[Page]", it is exported as a string and is not evaluated until the Header/Footer is opened from Excel.
It would be nice to have &[Page], &[Date], &[Time],&[Pages],&[File],&[Tab] supported.
4 Comments:
Attached is a source code fix to support exporting &[Page], &[Date], &[Time],&[Pages],&[File],&[Tab] in Excel headers. Just replace the code in JasperReports JExcelApiExporter.java and rebuild.
Is the JExcelApiExporter.java file part of the Jaspersoft Studio Professional 5.6.1? I have scanned both the server and studio libraries and have not found the file.
It's part of JasperReports jar. jasperreports-x.x.x-project.zip contains the source files.
http://sourceforge.net/projects/jasperreports/files/jasperreports/