OK, it is working if I define the font size in each <p> with a <span> like example below. This font size definition is very useful when working with template because the size of the font is the same as the rest of the static text in the document.
But, it would be better to define the real font size of the Normal style in the <body>. So, is there a way to retrieve the font size of the Normal style of a template in order to set it like <body style='font-size: ??px'> ?
<?php
require_once '../../../classes/CreateDocx.php';
$docx = new CreateDocx();
$docx->embedHTML('
<html>
<head>
</head>
<body style="color: red;">
<p><span style="font-size:initial">This is a test.</span></p>
<p><span style="font-size:initial">Another test which must be separated in a specific paragraph.</span></p>
<p><span style="font-size:initial">And another</span></p>
</body>
</html>');
$docx->createDocx('output');
Best regards,
Sébastien