Transform
Documents can be converted to other formats, e.g. DOCX to PDF or DOC to DOCX. It is required to install LibreOffice to perform these conversions.
You can find everything about document transformation in the documentation.
The following example transforms a DOCX document to PDF:
{
"config": {
"transform": {
"libreoffice_path": "/usr/bin/soffice"
}
}
}
The command to execute in order to convert DOCX to PDF is:
dynadocx -a transform -d data.json -i document.docx -o document.pdf