Forum


Replies: 11   Views: 4572
Transform.php not working
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 complexii  · 11-04-2013 - 12:13

thanks for the links, but after doing everything your $docx->transformDocx() object still doesn't work. we're going this direction:

[code]
$docx->createDocx('example_text');
//$docx->transformDocx('example_text.docx', 'example_text.pdf');
$tempDoc = 'example_text.docx';
$docDestination = 'example_text.pdf';
passthru('java -jar ' . dirname(__FILE__) . '/../phpdocx/corp/lib/openoffice/jodconverter-2.2.2/lib/jodconverter-cli-2.2.2.jar '. $tempDoc . ' ' . $docDestination);
[/code]