aspose file tools*
The moose likes Other Open Source Projects and the fly likes jasper-PDF pagination problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jasper-PDF pagination problem" Watch "jasper-PDF pagination problem" New topic
Author

jasper-PDF pagination problem

mohan kumar r
Ranch Hand

Joined: Jan 19, 2006
Posts: 38
Hi,
Long post but i want to explain the problem clearly so that i can get some help from you.

I am new to jasper.Trying to generate PDF for a webpage(TO provide printer friendly version in PDF to avoid browser dependencies).My problem is that some lines are missing while floating to next page.
How i am doing that?
I have around 70 elements on a webpage and the height of the Detail band is not sufficient to place all elements.So I am using group header and group footer so that I can place some of our detail elements on a special group header, some of them will probably remain on the detail section, and the rest could go on the group footer.i have started placing the elemets on Group Header ,and i expected the elements to flow(isSplit=true) to the next PDF page when they are not fit in current page.But when the end of the page is reached, subsequent elements are disappearing.In the PDF report i have attached,last line of the first page is

Name of regulatory authority of manager Rugulatroy Authority Value

The next line to be printed as a first line of the next page is

Please provide the licence number issued L1212122212121
by the
relevant regulatory authority

but this line is disappearing and the next line to be printed also missing some of its part.Please see the PDF and java programs attached.I have tried with isPrintWhenDetailOverflows but couldn't work.Depending on the data entered by the user for each field,last line of the page may differ but what expected is, It should flow to next page if it not fit in current page.

Please advice whethere there is any other way or am i doing anything wrong.

kindly ask me if you need more clarification about my problem.

Below is jrxml and java program.It is not allowing me to attach PDF file .

jrxml




Java Program



Thank you,
Regards,
Mohan

mohan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jasper-PDF pagination problem