I changed the code to:
$docx = new CreateDocx();
$docx->enableCompatibilityMode();
$text = "Here's some text to put into the file";
$paramsText = array( 'b' => 'single', 'font' => 'Arial' );
$docx->addText($text, $paramsText);
$docx->createDocx('gTemp1');
$docx->transformDocx('gTemp1.docx', 'gTemp1.pdf');
echo("JUST GENERATED PDF FILE gTemp1.pdf");
The file gtemp1.docx gets created, but no .pdf document is created anywhere on my server.
SAME THING happens when i run the phpdocx/examples/advanced/Transform.php example program. It generates the docx file, but no pdf file is generated anywhere.
Please help.