Merge pull request #804 from githubjeka/patch-1

Update Sample_09_Tables.php
This commit is contained in:
Progi1984 2016-05-26 09:56:39 +02:00
commit 38ca52ead1
1 changed files with 8 additions and 1 deletions

View File

@ -49,7 +49,14 @@ for ($i = 1; $i <= 8; $i++) {
$table->addCell(500)->addText(htmlspecialchars($text, ENT_COMPAT, 'UTF-8'));
}
// 3. colspan (gridSpan) and rowspan (vMerge)
/**
* 3. colspan (gridSpan) and rowspan (vMerge)
* ---------------------
* | | B | |
* | A |--------| E |
* | | C | D | |
* ---------------------
*/
$section->addPageBreak();
$section->addText(htmlspecialchars('Table with colspan and rowspan', ENT_COMPAT, 'UTF-8'), $header);