Hi all I have a report , the problem is when the content surpasses the page , an additional page is added to hold the exeeded content. so how to prevent this so no page will be added Thank you in advance
I need to remove report pages when it contains nothing. I have a page that contains blanks, so I want to remove it. I tried everything but the problem persists. I tried this code: private void removeBlankPage(List<JRPrintPage> pages) { for (Iterator<JRPrintPage> i = pages.iterator(); i.hasNext(); ) { JRPrintPage page = i.next(); if (page.getElements().size() == 0) i.remove(); }}[/code]But it never reaches the if (page.getElements().size() == 0)because the element exists and it's blank.(size always!=0) Now I'm trying to write a Print When Expression attribute, so I want to retrieve the preceding text if it's a blank then I'm sure that the page is all blank and in this case I don't print the blank text. So the blank pages disappears But I can't retrieve the preceding text. So what do you suggest?
Hi guys , related to your post i want to generate .fo from jasperreport , and by this way it will be easy to convert it to any other format like pdf , xml , ps ... Any one worked on it or can give me a starting point .
Hi i need to convert generated report into PCL5 format , so is there a way to do i. if there's not a way with jasperreport ,what is the best way to convert pdf to pcl format? any help will be appreciated