Hi,
I've wondered if there is a possibility to insert a certain page when rendering the PDF using JavaScript.
I've a table that contains n records. If the table reaches for example page five, I want to insert a page (cover sheet) because the following pages should be packed into a separate envelope and then continue with the table.
I solved the problem partially using conditional breaks on table rows when a certain number of rows has been reached. This solution works only when all rows have the same height. If the heights vary the result is not as good as expected.
Can I create nodes and append them to the document-tree?
thanks in advance
Michael