Hello,
As explained in our previous all codes are fully tested and working.
If it's not working on your side, then some change must be being done in your code or you are not using the correct license or phpdocx version.
For futher support, please send an email to contact[at]phpdocx.com
Regards.