Convert selected PDFs to DOCX, or convert every PDF in the current working folder when source is omitted.
pdfToword(output_file=None, source=None)output_fileType: str or None
Optional DOCX filename. It is used only when exactly one PDF is selected; otherwise each DOCX uses the source PDF's stem.
sourceType: path, iterable of paths, or None
Optional explicit PDF input. A single path converts one PDF; an iterable converts those PDFs only. When omitted, all PDFs in the current folder are discovered.
A `Path` for one conversion or a list of `Path` objects for multiple conversions; `None` when no PDFs are found.
pdfToword()pdfToword(source="report.pdf")pdfToword(source="report.pdf", output_file="report.docx")pdfToword(pdfMerge())When source is omitted, Toolvix discovers matching files in the current working folder. When source is supplied, only the supplied files are processed. This makes nested pipelines deterministic.