PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: re: PDF pagination
   PostPosted: 03 May 2011, 05:43 
hi, I have one question here before I commit my company to a license purchase.

Here is the scenario, Our java struts2 app generates a purchase order in html form that we hope to generate into pdf using pd4ml.

the purchase order would have a dynamic number of items, each items consisting of a bold header and a few lines of description beneath. Because it is in html form right now, it does not suffer from pagination issues. My question is, how can we achieve a nice pagination automatically, i.e. for the items to fall over to a new pdf page nicely as a whole, instead of being sliced in half when the page size is reached.

Can pd4ml do this automatically ? How can I achieve this effect in a jsp page otherwise ?

thank you and regards.


  Subject: Re: re: PDF pagination
   PostPosted: 03 May 2011, 13:16 
By default PD4ML prevents any text lines from being sliced.

With CSS style like TR, IMG { page-break-inside: avoid } you may explicitly protect chosen elements (or element types).



[Reply]     [ 2 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share