If i run the following code:
[code]
require_once '../../classes/CreateDocx.inc';
require_once '../../classes/TransformDoc.inc';
$docx = new CreateDocx();
$docx->addText('HTML content');
$html= '<p>Test HTML</p>';
$docx->addHTML($html);
$docx->addText('End HTML content');
$docx->createDocx('example_html');
$document = new TransformDoc();
$document->setStrFile('example_html.docx');
$document->generatePDF();
[/code]
The docx file displays properly:
HTML content
Test HTML
End HTML content
The pdf file however just displays:
HTML content
End HTML content
Am I missing something?