Im using Coporate 5.5. My code goes like this :
if (isset($_GET['output']))
{
if ($_GET['output'] == "pdf")
{
$docx->enableCompatibilityMode();
$docx->createDocx('temp/Business Plan');
$docx->transformDocument('temp/Business Plan.docx', 'temp/Business Plan.pdf');
}
else
$docx->createDocxAndDownload('temp/Business Plan');
}
else
$docx->createDocxAndDownload('temp/Business Plan');
1. No PDF found in temp folder.
2. Is there a transformDocumentAndDownload like in createDocxAndDownload ?