Last updated 2 days ago
We first have to convert the .docx file to a PDF. This prevents any malicious macros or exploits to be executed.
.docx
$ unoconv -f pdf file.docx