pdfToppt

Convert selected PDFs to PPTX files, or convert every PDF in the current folder.

Function

pdfToppt(output_file=None, source=None)

Parameters

output_file

Type: str or None

Optional PPTX filename. Used only when exactly one PDF is selected.

source

Type: path, iterable of paths, or None

Optional explicit PDF input. When omitted, every PDF in the current working folder is discovered.

Returns

A `Path` for one conversion or a list of `Path` objects for multiple conversions; `None` when no PDFs are found.

Examples

Convert all PDFs

pdfToppt()

Convert a merged result

pdfToppt(pdfMerge())

Name one PPTX

pdfToppt(source="report.pdf", output_file="slides.pptx")

Notes

PDF pages are rendered as images and placed on PowerPoint slides.

Dynamic input behavior

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.

Back to function index · Nesting and chaining