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

XLS element suppression


jbarrow

Recommended Posts

I would like to verify that xls element suppression bacame available in release 2.0.2.

 

In an old version (1.2.8) I have tried the following with no effect.

 

<property name="net.sf.jasperreports.export.xls.exclude.origin.band.header" value="pageHeader"/>

<property name="net.sf.jasperreports.export.xls.exclude.origin.band.footer" value="pageFooter"/>

 

Thanks.

 

-James

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thanks Lucian.

 

I have another question. My xls export now has the header and footer data removed, but the rows where the data had been displayed is still there. These rows appear in the xls file with the same size as the bands that are supposed to be excluded from the export.

 

How can I make the rows not appear in the xls file?

 

-James

Link to comment
Share on other sites

Put

Code:

<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>

in the JRXML, or set the JRXlsAbstractExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS flag to true at export time.

 

HTH,

Lucian

Link to comment
Share on other sites

Thanks again Lucian.

 

I have looked through the online documentation and I have had a hard time finding an resource that would have answered my recent questions.

 

Is there a resource that describes what is available in net.sf.jasperreports.export.xls.*, for the Jasper objects as well as the jrxml?

 

-James

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...