I just bought the premium version of phpdocx yesterday. I have used the sample code to convert a docx file to a pdf. It works for most files, but there are a lot files that fail with the following error message.
Call to undefined method Phpdocx\Transform\TransformDocAdvPDF::transformW_SDT() in /Phpdocx/Transform/TransformDocAdvPDF.php on line 361
Phpdocx/Transform/TransformDocAdvHTML.php does contain that method, but it does not work when used in TransformDocAdvPDF.
$docx = new CreateDocx();