• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

jasper-PDF pagination problem

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .


Java Program

Thank you,
Lasagna is spaghetti flvored cake. Just like this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic