Forum


Replies: 9   Views: 8597
Generate pdf out of docx file - problem with html
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 suyog.kale@anzu.org  · 28-04-2014 - 07:03

Used Sample code to generatePDF, it creates PDF files but has following problems:



- Header and footer is missing.



- Images from main contents are missing



- bullets list style is missing - all contents displayed as plain text



Please help me to resolve this issue.



require_once '../../classes/CreateDocx.inc';



$docx = new CreateDocx();



$document = new TransformDoc();

$document->setStrFile('E:\XAMPP\htdocs\AnzuConnect\fileconverters\outputs\85687\110.docx');

$document->generatePDF('C:\Users\suyog\Desktop\Text.pdf');