Jump to content
Changes to the Jaspersoft community edition download ×

XLS / CSV Exporter - Element Supression


Recommended Posts

By: Andrew - affriedl

XLS / CSV Exporter - Element Supression

2003-05-21 09:02

I would be very nice to be able to suppress individual elements (like the Report Title, footers and headers) in CSV and XLS exports. Could this be added via parameters? My company may be able to provide me the time to work on this.

 

Also, having CSV all in one page would be helpful as well.

 

 

 

 

By: Gregory A. Swarthout - gswarthout

RE: XLS / CSV Exporter - Element Supression

2003-05-21 10:32

I pass in the outputType as a parameter and then do the following:

 

<columnHeader>

<band height="32">

<printWhenExpression>

new Boolean($V{PAGE_NUMBER}.intValue() == 1 ||

(!$P{outputType}.equalsIgnoreCase("xls") <![CDATA[&&]]> !$P{outputType}.equalsIgnoreCase("csv")))

</printWhenExpression>

etc...

 

so that for XLS and CSV files the column header is only printed once

 

 

 

 

By: Andrew - affriedl

RE: XLS / CSV Exporter - Element Supression

2003-05-21 11:13

Thanks for the idea, I'm sure that I can make that work.

 

Andrew

 

 

 

 

By: Andrew - affriedl

RE: XLS / CSV Exporter - Element Supression

2003-05-21 11:16

Thanks for the idea, I'm sure that I can make that work.

 

Andrew

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...