Hello,
Although we have replied your email about this same question, we copy the answer for general information:
Please send to this email (contact@phpdocx.com) one of the DOCX and the PDF output you get and we'll check it, also send the version of LibreOffice you are using in your server (we always recommend using the latest version of LibreOffice [https://www.libreoffice.org/]).
Regards.