PDF export - text content not continuing into second page

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
philmills
User
Posts: 538

PDF export - text content not continuing into second page

Post by philmills »

I'm exporting pdf from master/detail view, and some of the content of my detail tables are very long text fields.
The field content begins on a fresh page, but at the end of the page the text is truncated rather than continuing on the next page.
How can i fix that?

Ref these threads too as I have used these export modifications:
viewtopic.php?t=50678
viewtopic.php?t=54937


arbei
User
Posts: 9360

Post by arbei »

You may either customize the ExportPdf class or use custom export (see Page_Exporting and Row_Export server events) to export page break when necessary. The ExportPdf class has a exportPageBreak() method.


philmills
User
Posts: 538

Post by philmills »

I looked at Page_Exporting and Row_Export server events
There's no example how to do that.


arbei
User
Posts: 9360

Post by arbei »

You may just see the generated code as example, or see the source code.


Post Reply