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

Home » RADICORE » How To » List View page break after additional rows
Re: List View page break after additional rows [message #2304 is a reply to message #2301] Tue, 08 September 2009 14:24 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2355
Registered: April 2006
Location: Surrey, UK
Senior Member
gpatti wrote on Tue, 08 September 2009 10:43

In addition to the split of before and afer printing I'd like to suggest an enhancement for the future - to be able (optionally?) to force lines printed before/after $curr_row to be grouped such that a page break does not split them, so they are always printed with their associated row. Do you think this might be feasible?

Attached is a new version of 'std.pdf.class.inc' which includes a new function which will return the number of lines remaining on the current page:
$lines_left = $this->pdf->getLinesRemaining();

You can use this to compare against the number of lines required so that you can issue a call to $this->pdf->AddPage() in order to start a new page.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: curr_or_hist='C' and output2
Next Topic: Maximum Query Execution Time
Goto Forum:
  


Current Time: Wed Aug 07 16:23:04 EDT 2024

Total time taken to generate the page: 0.01256 seconds