Update Sample_09_Tables.php

This commit is contained in:
Evgeniy Tkachenko 2016-05-25 14:36:57 +03:00
parent 023977a885
commit d9627e19fd
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);