Modificare il file:
\Buoni-spesa-OLD\include\transizioni_models.asp
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<this.PageBreakTrigger-this.y0) this.maxheight=this.PageBreakTrigger-this.y0; this.Rect(x,this.y0,this.colwidth["N_Buono"],this.maxheight); x+=this.colwidth["N_Buono"]; this.Rect(x,this.y0,this.colwidth["importo"],this.maxheight); x+=this.colwidth["importo"]; this.Rect(x,this.y0,this.colwidth["data_emissione"],this.maxheight); x+=this.colwidth["data_emissione"]; this.maxheight = this.rowheight; // draw frame return true; } this.Header=function Header() { this.SetFillColor(192); this.SetX(this.leftmargin); this.Cell(this.colwidth["N_Buono"],this.rowheight,"N_Buono",1,0,'C',1); this.Cell(this.colwidth["importo"],this.rowheight,"importo",1,0,'C',1); this.Cell(this.colwidth["data_emissione"],this.rowheight,"data_emissione",1,0,'C',1); this.Ln(this.rowheight); this.y0=this.GetY(); } this.GetColWidth = function GetColWidth(name) { return this.colwidth[name]; } this.leftmargin=5; pagewidth=200; pageheight=290; this.rowheight=5; defwidth=pagewidth/3; this.colwidth=new Array(); this.colwidth["N_Buono"]=defwidth; this.colwidth["importo"]=defwidth; this.colwidth["data_emissione"]=defwidth;
[
Íàçàä
]