Forum


Replies: 2   Views: 1802
Transformdocadvmsword #timememoryfunctionlocation
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 dev-info  · 24-06-2020 - 06:44

hello, 

in localhost,

when I create a docx document, then I transform it into pdf (with msword), I end up with this error:
TransformDocAdvMSWord.php on line 117 Call Stack #TimeMemoryFunctionLocation 10.0009252616 {main}

the code:

$strContent = "<p>test</>";

       $docx = new Phpdocx\Create\CreateDocx();

       $docx->embedHTML($strContent);

       if(!file_exists($racine)){

        mkdir($racine, 0777, true);

       }

       $docx->createDocx($racine."FIRST_PAGE_GB");

       $docx>transformDocument($racine.'FIRST_PAGE_GB.docx', $racine.'FIRST_PAGE_GB.pdf', 'msword');

The .ini config:

[transform]

method = "msword"

path = "C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE"

 

someone has any idea what's going on?

 

Thank you