Parzialmente risolto così:
Codice PHP:
$h = 5;
$nuovaY = $this->GetY();
$Y = $this->GetY();
$X = $this->GetX();
$oldY = $Y;
$oldX = $X;
$this->MultiCell($w[0],$h,$row[0],'LR','C',$fill);
$X=$X+$w[0];
if($this->GetY()>=$nuovaY){$nuovaY=$this->GetY();}
$this->SetY($Y);
$this->SetX($X);
$this->MultiCell($w[1],$h,$row[1],'LR','C',$fill);
$X=$X+$w[1];
if($this->GetY()>=$nuovaY){$nuovaY=$this->GetY();}
$this->SetY($Y);
$this->SetX($X);
$this->MultiCell($w[2],$h,$row[2],'LR','L',$fill);
$X=$X+$w[2];
if($this->GetY()>=$nuovaY){$nuovaY=$this->GetY();}
$this->SetY($Y);
$this->SetX($X);
$this->SetY($nuovaY);
$newY = $nuovaY;
$linee = ($newY-$oldY)/$h;
if ($linee >1 )
{
$this->SetY($oldY);
$h=$h*$linee;
$this->Cell($w[0],$h,'','LR',0,'',$fill);
$this->Cell($w[1],$h,'','LR',0,'',$fill);
$this->Cell($w[2],$h,'','LR',0,'',$fill);
$this->Ln();
}
ma a parte che non mi piace come soluzione, il fatto è che così perdo lo sfondo perchè riscrivo brutalmente le celle precedenti con il bordo ed il fill=true mi sovrascrive il contenuto precedente delle celle.
Nessuno sa suggerire una soluzione?