We have a requirement to put page break in PDF to divide the pages correctly. Specifically, we are combining 3 correspondence rules into one PDF using HTMLtoPDF where we have one section that contains all of the correspondence rules (see attached).
We have tried the below options:
1. In inline style of a free form layout, kept the HTML fragment "<DIV style="page-break-after:always"></DIV>". Can use page-break-after:always or page-break-before:always. Included the layout in a section. But didn't worked as expected.
2. Set pyEnableSmartTableBreaks to "true" and add a table tag to the bottom of each correspondence.