Fairly new using Lucee in production. Ran into an issue this week while converting uploaded documents to PDF. The problem is with converting Microsoft documents like Word .doc and .docx files. I found in the Lucee docs that these are not supported with the PDF extension.
What are you all using to convert Microsoft documents to PDF with Lucee? I’d like to be able to use something that integrates well with Lucee so we can continue with minimal (if any) code changes. Currently using the <cfdocument format="pdf" srcfile="worddoc.docx" filename="newdoc.pdf" overwrite=true fontembed="true"></cfdocument> tag to do these conversions where we have a Word document already and trying to convert them to PDF. Worked fine with Adobe CF.
Windows Server 2019
JavaVersion: 11.0.20
Apache Tomcat/9.0.78
Lucee stable 5.4.4.38
My current approach to converting Word to PDF is to use LibreOffice via command line. The environment is Windows Server 2019, Java 11.0.22, Tomcat 9.0.84, Lucee 5.4.4.38. Here is an example.