convert_pdf_to_excel
Convert a local PDF file into an Excel XLSX spreadsheet. Supports OCR, merging sheets, and extraction quality settings to suit your data needs.
Instructions
Convert a local PDF file to Excel (XLSX) using the PDF4me ConvertPdfToExcel API. Provide the file path to the PDF. Options: quality (Draft/High), merge_all_sheets, language, OCR when needed, and optional output path. Output is always XLSX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Document language hint for OCR/extraction. | English |
| file_path | Yes | Local path to the PDF file to convert. | |
| output_dir | No | ||
| quality_type | No | Draft or High quality for extraction. | Draft |
| ocr_when_needed | No | Enable OCR when the API determines it is needed. | |
| merge_all_sheets | No | Merge content into a single sheet when supported. | |
| output_file_name | No |