com_import_pdf
Convert a PDF to .docx via Word's built-in PDF reflow. Outputs beside the PDF, refuses overwrites, validates the result, and warns when scanned PDFs yield no text.
Instructions
Convert a PDF to .docx via Word's built-in PDF reflow, in a dedicated invisible Word instance. Output defaults next to the PDF with a .docx extension; an existing output file is refused; the produced .docx is validated by a full package round-trip. Text-based PDFs convert well, complex layouts may reflow imperfectly, and scanned image PDFs yield little or no text (Word does not OCR; a near-zero word count triggers an explicit warning).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||