Hello,
When I use :
$PHPDocx->replaceTemplateVariableByHTML($html, 'inline', $valeur, array('strictWordStyles' => true, 'isFile' => false, 'parseDivsAsPs' => true));
It drop all <p> style : text-align, padding-left, margin-left ...
I must use strictWordStyles, because I need to respect the template’s font style and size.
How can I do align text differently?