DynamicPDF API Word and Excel Conversion
· 4 min read
The DynamicPDF API pdf
endpoint now supports Word and Excel conversion to PDF.
For example, in the following instructions document, the sample-data.xlsx
excel file and the sample-doc.docx
word file are both converted to PDFs and then merged to return a combined PDF.
{
"author": "Alex Smith",
"title": "Word and Excel Example",
"inputs": [
{
"type": "excel",
"resourceName": "sample-data.xlsx"
},
{
"type": "word",
"resourceName": "sample-doc.docx"
}
]
}
The following illustrates the processing performed by the instructions document.
The instructions first converts the Excel document to a PDF, it then converts the Word document to a PDF. The two interim PDFs are then merged into a combined PDF. The pdf
endpoint then returns the combined PDF as binary.
Running the instructions in Postman results in a combined PDF.