Forum


Replies: 4   Views: 3501
Error while running test script - docx to pdf
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 cdalzell  · 21-05-2014 - 07:15

Thanks for that; I'm just using the trial to determine if this calls will work as nneded.



I tried the simple generatorpdf but also got an error using:



require_once '../libraries/PHPDocX/classes/TransformDoc.inc';

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



$document = new TransformDoc();

$document->setStrFile('../output/agencies/example_text.docx');

$document->generatePDF();



-->Fatal error: Call to undefined method AutoLoader::loadPDF() in /home/montgo12/public_html/libraries/PHPDocX/classes/TransformDoc.inc on line 19



 



How can I test the pdf generator function?



 



Thanks



Colin