sudha_ramaiah Posted December 28, 2006 Share Posted December 28, 2006 We have three different reports PDF,EXCEL and html.Paginaiton has to be done for PDF whearas in Excel it should not.In excel,it has to fill continuosly till the max rows allowed in the excel and then it has to move on to the next sheet. I tried with the IS_ONE_PAGE_PER_SHEET making false and also isIgnorePagination for Excel.It worked but the column headers repeat inbetween.I tried moving the column headers to page headers but it not work out.Please help me in avoiding the repeating colum headers in excel. Link to comment Share on other sites More sharing options...
bep Posted February 1, 2007 Share Posted February 1, 2007 I'm having the exact same problem. Link to comment Share on other sites More sharing options...
wegnerk Posted February 2, 2007 Share Posted February 2, 2007 I had a similar problem and i solved it by a parameter fileformat and the pagenumber. the fileformat is a parameter which comes from my java application and contains pdf, xls or something. Now, i used the printWhenExpression for the bands pageheader/columnheader. So, if the fileformat is xls and the pagenumber is higher than 1, don't print these bands. For pdf, print it always. When exporting to xls, i also used the Code:(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE) I hope this helps a bit Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now