Hello all.
This is my first post in the forum. Thanks in advance for your help.
So I'm generating a document which has dynamic content based on user input. This content can grow to a size that it cannot fit on one page. Through css I have configured this content to avoid a page break. In most cases it works fine. If the rendering is nearing the end of the page and the dynamic content cannot fit in the rest of the page PrinceXML breaks the page and starts the content on the new page. But the problem is that sometimes even after starting the content from a brand new page, the page is not enough to fit the entire content so it ends up breaking inside the content anyway. Is there a way for PrinceXML to first check if that after breaking the page the content is not going to fit on the whole page then to not do the first page break?
Another problem I had with this is that if there is any content after this large dynamic content, there is a text overlap. My immediate requirement is to solve the second problem (so that the text doesn't overlap). A nice-to-have would be to enable the smarts of PrinceXML knowing that the dynamic content is not going to fit on full page so to then not do a page break before rendering it.
Please see attached files for more information. Happy to provide more information if required to help you assist me in solving the above.
Once again, I thank everyone in advance for their assistance with this.
This is my first post in the forum. Thanks in advance for your help.
So I'm generating a document which has dynamic content based on user input. This content can grow to a size that it cannot fit on one page. Through css I have configured this content to avoid a page break. In most cases it works fine. If the rendering is nearing the end of the page and the dynamic content cannot fit in the rest of the page PrinceXML breaks the page and starts the content on the new page. But the problem is that sometimes even after starting the content from a brand new page, the page is not enough to fit the entire content so it ends up breaking inside the content anyway. Is there a way for PrinceXML to first check if that after breaking the page the content is not going to fit on the whole page then to not do the first page break?
Another problem I had with this is that if there is any content after this large dynamic content, there is a text overlap. My immediate requirement is to solve the second problem (so that the text doesn't overlap). A nice-to-have would be to enable the smarts of PrinceXML knowing that the dynamic content is not going to fit on full page so to then not do a page break before rendering it.
Please see attached files for more information. Happy to provide more information if required to help you assist me in solving the above.
Once again, I thank everyone in advance for their assistance with this.