Menu

Forcing a Page Break in PDF Reports

Help
knorway
2010-01-12
2013-05-30
  • knorway

    knorway - 2010-01-12

    In reports (like the Family Report) an individual may have their information printed on two different pages.  Can a page break be forced in the XML after each individual is printed to the PDF?  Thanks

     
  • Im

    Im - 2010-01-19

    kfnordan?

    You can force a pagebreak with:

    <PGVRNewPage/>
    

    For fun, you can add a new line at 573 and place that code there. Make sure that the code looks like this after your change:

                    <PGVRRepeatTag tag="CHIL">
                    <PGVRNewPage/>
                        <PGVRGedcom id="@CHIL">
    

    Now all children will end up on a new page. But if you wish to complicate things, look around in the other xml files for examples. There are many.

    -Im

     
  • knorway

    knorway - 2010-01-19

    Thanks

    Works like a chap.  I put it in a few other places , before the sources and between the husband and wife.

     

Log in to post a comment.