Replies: 3   Views: 3914
Html to pdf, pro version
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by RamirezZ  · 19-06-2011 - 11:13

Is it possible that the function generatePDF(); is not able to output html code?
If i run the following code:

require_once '../../classes/';
require_once '../../classes/';

$docx = new CreateDocx();

$docx->addText('HTML content');
$html= '<p>Test HTML</p>';
$docx->addText('End HTML content');

$document = new TransformDoc();

The docx file displays properly:
HTML content
End HTML content

The pdf file however just displays:
HTML content

End HTML content

Am I missing something?