Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26555

    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.


    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).

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.