Jump to content
Changes to the Jaspersoft community edition download ×

xsl export does not split content to cells


Recommended Posts

By: LeeBar - leebar

xsl export does not split content to cells

2006-03-29 20:34

hi all

 

I am having a hard time to download xsl reports (as well as csv).

When downloading the report through a servlet, the content of one complete report row is placed in the very first cell of the excel sheet (the values are seperated by commas) - instead of one value per cell.

I don't think it has to do with the created report itself, but with the browser (I tried IE and Firefox). I just can't find a way to get rid of that. Maybe somebody else experienced that problem?

 

Thanks, Lee

 

 

 

 

By: Denny Valliant - xenden

RE: xsl export does not split content to cell

2006-03-30 15:52

All I can think of is maybe your element positioning is off? Have you looked at the FAQ section regarding xls/csv and positioning?

Xd

 

 

 

 

By: jasperkan - jasperkannan

RE: xsl export does not split content to cells

2006-03-31 14:49

try setting these parameters .

 

exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,exportOut);

exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);

exporter.setParameter(JRXlsExporterParameter.IS_AUTO_DETECT_CELL_TYPE,java.lang.Boolean.FALSE);

exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE);

exporter.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND,Boolean.FALSE)

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