Hi,
I'm having problems inserting mathml in a table cell. the generated docx is always corrupted (line 4, collumn 0).
Is it possible through phpdocx ?
I'm trying the following
$mathData = $docx->addMathMML($mathml, true);
$math = $docx->createWordMLFragment(array($mathData));
$col_0 = array(
'width' => 10000,
'value' => $math,
'border' => 'none',
'cellMargin' => 1,
'vAlign' => 'bottom');
$options = array('size_col' => 1000,
'border' => 'none',
'float' => array('align' => 'center')
);
$table[] = $col_0;
$docx->addTable($table, $options);
Does anyone can help me ?
Best Regards