I am having the following error when I run the sample1.php in transformDocument
Warning: rename(./test.pdf,test .pdf): The system can not find the file specified. (code: 2) in C:\wamp64\www\phpdocx\Classes\Phpdocx\Transform\TransformDocAdvLibreOffice.inc on line 139
phpdocxconfig
;libreoffice or openoffice method = "libreoffice" ; libreoffice installation path, absolute path path = "C:\Program Files\LibreOffice 5\program\soffice.exe"
From the command line I can convert
C:\Program Files\LibreOffice 5\program\soffice.exe --headless --convert-to pdf --outdir "C:\temp" "C:\temp\test.docx"