Jump to content
We've recently updated our Privacy Statement, available here ×

ggeeslin

Members
  • Posts

    2
  • Joined

  • Last visited

ggeeslin's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I would like to create reports that can be exported as xls or pdf and have different layouts depending on which export type is chosen. I’m trying to accomplish this by excluding certain groups/bands based on export type, and this works fine for removing pdf bands from the xls output. There would be an empty row wherever a band was excluded, but I can use <property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/> to remove these empty rows. There does not appear to be a pdf equivalent to this property, so when I export to pdf and exclude the xls groups I am left with empty space wherever the xls bands would have been. I tried using “Remove Line When Blank” for every item in the row, and I’ve tried putting every item in a frame and using ”Remove Line When Blank” on the frame. I’ve also tried excluding by key instead of by band, but none of these methods worked. Does anyone know how to make sure that bands excluded when exporting to pdf do not leave blank space behind in the final output of the report?
×
×
  • Create New...