17 commands. Toolkit id ooa.pdf.
| Command | What it does |
|---|---|
| Convert to images | Save each page, or chosen pages, as an image (PNG, JPEG, BMP, GIF or TIFF) in colour, grey or black and white, for OCR or previews. |
| Decrypt PDF | Remove password protection (needs the open or owner password). |
| Encrypt PDF | Protect a PDF with an open password and an owner password, choosing the AES key length and what readers may do (print, copy, edit, annotate, fill forms, assemble). |
| Extract fields by area | Read the text of several named areas of a PDF at once, e.g. invoice number, date and total, into a Dictionary. |
| Extract images | Save the pictures embedded in a PDF (photos, logos, scanned pages), from every page or chosen pages, as image files in a folder. |
| Extract tables | Find tables in a PDF that holds text (invoices, statements, reports) by how the text lines up in columns, and return each as a Data Table. Scanned PDFs need OCR first. |
| Extract text | Extract the text of a PDF, of a page range or of chosen pages, as plain or layout-ordered text, optionally into a .txt file. Scanned PDFs (images) need OCR instead. |
| Extract text from area | Read the text inside a rectangle of one page, e.g. an invoice number box that is not a form field. |
| Fill form fields | Fill form fields by name and save a new PDF; optionally flatten so values can no longer be edited. |
| Get document properties | Return the title, author, subject, keywords, creator, producer, dates, page count, PDF version and encryption of a PDF. |
| Get page as picture | Render one page as a PNG picture, returned as data (data: URI) with the page size in points; used by OneAgentStudio to draw an area to read, and to show a page in forms or emails. |
| Get page count | Return the number of pages. |
| Merge PDFs | Combine several PDFs (a list, or every PDF in a folder), or chosen pages of each, in order, into one file; protected sources can be opened with passwords. |
| Read form fields | Read the names and values of all form fields, or only of the fields named. |
| Read text with OCR | Read the text of a scanned PDF (pages that are pictures, with no text layer) with Tesseract OCR, from every page or chosen pages, optionally keeping only the text between two markers. |
| Read XPS text | Read the text of an XPS or OpenXPS document (.xps, .oxps), page by page, in reading order. |
| Split PDF | Split a PDF into files of N pages each, into one file per page range, into one file holding chosen pages, at blank separator pages, or at its bookmarks. |