This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • 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
  • 0
  • 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: ???

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic