views:

296

answers:

0

Greetings,

I had a question regarding covnerting xml content to pdf. I am able to successfully generate pdf out of the xml using xhtmlrenderer and inbuilt interface to itext library. I had one question regarding page size and pagination. Currently, if my rendered xml does not fit on the specified page size, a second page is not created for the remaining content.

Is there a way to automatically create multiple pages to fit all content?

Thanks,