com_export_pdf
Export a Word document to PDF with full formatting intact, including fields, footnotes, TOC, headers/footers, and images. The original .docx is never modified.
Instructions
Export the document to PDF via an invisible Word instance with full fidelity (fields resolved, footnotes, TOC, headers/footers, images). pdf_path defaults to the source filename with .pdf extension in the same directory. The source .docx is never modified. Requires Word installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||