Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Force a PDF page break
Re: Force a PDF page break [message #1689 is a reply to message #1688] Mon, 22 September 2008 10:02 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
I've just tried forcing a page break in my test system and discovered the following:

(1) The code you actually need in your table object is:
$this->pdf->AddPage();


(2) In order to populate $this->pdf you will need to update the outputPDF_ListView() method in std.table.class.inc as follows:
$pdf = new PDF_list($structure); <== existing line
$this->pdf =& $pdf;              <== add this line

I will put this change in the next release.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Delete files in filepicker screen?
Next Topic: Problem with _cm_filterwhere, how can do this?
Goto Forum:
  


Current Time: Tue Nov 19 00:19:38 EST 2024

Total time taken to generate the page: 0.01712 seconds