Forum


Replies: 1   Views: 141
Solved mergedocx output can't be transformed to pdf on linux
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 alerts@dalescott.com  · 06-06-2019 - 19:38

Posting this as an FYI to others - if the documents you create with MultiMerge::mergeDocx cannot subsequently be converted to pdf with libreoffice, check your libreoffice version. We did not have a problem with transformDocument on any of the environments; this was only a problem for documents concatenated with mergeDocx. We were able to confirm it was not a permissions issue.

Using phpdocx 8.5 in both environments, we had no problem doing this on OSX, but it was failing on our linux environment. We found the problem was due to using libreoffice 6.x on the macs, and 5.x on linux. Upgrading to libreoffice 6 fixed the problem.