0
商品の説明に大きなテキストコンテンツがあり、1ページに含めることはできません。 この説明を分割して、長さに応じて複数のページに動的に適合させるにはどうすればよいですか?
このアプローチを実行するtcpdfクラスの組み込みメソッドはありますか? これは私のコードです:大きなテキストコンテンツを分割して、tcpdf PHPの複数のページに表示する方法は?
$tab_top = 88 + $height_incoterms;
$pdf->SetFont('','', $default_font_size - 1);
$pdf->writeHTMLCell(190, 3, $this->posxdesc-1, $tab_top, $notetoshow, 1, 1);
$nexY = $pdf->GetY();
$height_note=$nexY-$tab_top;
$pdf->SetDrawColor(192,192,192);
$pdf->Rect($this->marge_gauche, $tab_top, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $height_note);
$tab_height = $tab_height - $height_note;
$tab_top = $nexY+20; //tab for the next item