How to make that work colSpan:
Make it as it is written in a previous post
PHPWord\Writer\Word2007\Base.php
protected function _writeCellStyle
$brdCol = $style->getBorderColor();
after :$GridSpan = $style->getGridSpan();
....
$styles = (!is_null($bgColor) || !is_null($valign) || !is_null($textDir) || $borders) ? true : false;
after
if(!is_null($GridSpan)) {
Make it as it is written in a previous post
PHPWord\Writer\Word2007\Base.php
protected function _writeCellStyle
$brdCol = $style->getBorderColor();
after :$GridSpan = $style->getGridSpan();
....
$styles = (!is_null($bgColor) || !is_null($valign) || !is_null($textDir) || $borders) ? true : false;
after
if(!is_null($GridSpan)) {
$objWriter->startElement('w:gridSpan');
$objWriter->writeAttribute('w:val', $GridSpan);
$objWriter->endElement();
}
Sorry for bad English