forked from science-ation/science-ation
Remove TCPDF example from source
This commit is contained in:
parent
180550f15e
commit
ee2e03df4b
@ -504,72 +504,7 @@ class pdf extends TCPDF {
|
|||||||
$html .= '</table>';
|
$html .= '</table>';
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
//echo "<pre>";
|
|
||||||
//echo $html;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
$html = <<<EOD
|
|
||||||
<table border="1" cellpadding="2" cellspacing="2">
|
|
||||||
<thead>
|
|
||||||
<tr style="background-color:#FFFF00;color:#0000FF;">
|
|
||||||
<td width="72" align="center"><b>A</b></td>
|
|
||||||
<td width="72" align="center"><b>XXXX</b></td>
|
|
||||||
<td width="72" align="center"><b>XXXX</b></td>
|
|
||||||
<td width="72" align="center"> <b>XXXX</b></td>
|
|
||||||
<td width="72" align="center"><b>XXXX</b></td>
|
|
||||||
<td width="72" align="center"><b>XXXX</b></td>
|
|
||||||
</tr>
|
|
||||||
<tr style="background-color:#FF0000;color:#FFFF00;">
|
|
||||||
<td width="30" align="center"><b>B</b></td>
|
|
||||||
<td width="140" align="center"><b>XXXX</b></td>
|
|
||||||
<td width="140" align="center"><b>XXXX</b></td>
|
|
||||||
<td width="80" align="center"> <b>XXXX</b></td>
|
|
||||||
<td width="80" align="center"><b>XXXX</b></td>
|
|
||||||
<td width="45" align="center"><b>XXXX</b></td>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tr>
|
|
||||||
<td width="30" align="center">1.</td>
|
|
||||||
<td width="140" rowspan="6">XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
|
|
||||||
<td width="140">XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX</td>
|
|
||||||
<td align="center" width="45">XXXX<br />XXXX</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="30" align="center" rowspan="3">2.</td>
|
|
||||||
<td width="140" rowspan="3">XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td align="center" width="45">XXXX<br />XXXX</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="80">XXXX<br />XXXX<br />XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td align="center" width="45">XXXX<br />XXXX</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="80" rowspan="2" >RRRRRR<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td align="center" width="45">XXXX<br />XXXX</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="30" align="center">3.</td>
|
|
||||||
<td width="140">XXXX1<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td align="center" width="45">XXXX<br />XXXX</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="30" align="center">4.</td>
|
|
||||||
<td width="140">XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td width="80">XXXX<br />XXXX</td>
|
|
||||||
<td align="center" width="45">XXXX<br />XXXX</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
EOD;
|
|
||||||
*/
|
|
||||||
function add_table($table)
|
function add_table($table)
|
||||||
{
|
{
|
||||||
$orig_lmargin = $this->lMargin;
|
$orig_lmargin = $this->lMargin;
|
||||||
|
Loading…
Reference in New Issue
Block a user