Page 1 of 1
PDF export - text content not continuing into second page
Posted: Wed Feb 01, 2023 5:24 pm
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
Re: PDF export - text content not continuing into second page
Posted: Wed Feb 01, 2023 7:11 pm
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.
Re: PDF export - text content not continuing into second page
Posted: Thu Feb 02, 2023 4:31 pm
by philmills
I looked at Page_Exporting and Row_Export server events
There's no example how to do that.
Re: PDF export - text content not continuing into second page
Posted: Fri Feb 03, 2023 9:05 am
by arbei
You may just see the generated code as example, or see the source code.