• Post Reply Bookmark Topic Watch Topic
  • New Topic

iReport excel export to exclude page header and page footer [Urgent]  RSS feed

Mary Koh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using iReport and would like to export it to excel without page header and page footer.
How can I accomplish this? I would like to add it to my java codes.

For detecting cell type, it is as follow..
Jrxml: <property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/>
Java: xlsExporter.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE);

How about export without page header and footer?
Jrxml: <property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/>
Java: ???

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!