this.Header=function Header() { this.SetFont('Arial','B',15); this.Cell(80); this.Cell(30,10,'Title',1,0,'C'); this.Ln(20); } this.AcceptPageBreak = function AcceptPageBreak() { if(this.y0+this.rowheight>this.PageBreakTrigger) return true; var x; x=this.leftmargin; if(this.maxheight