• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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

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: ???

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!