Overview
Extract Attachments and Portfolio Items extracts embedded files from a PDF document and saves them to a folder on disk. It handles three types of embedded content:
- Portfolio items — files contained in a PDF Portfolio (also known as PDF Packages)
- Embedded file attachments — files attached at the document level via the EmbeddedFiles name tree
- File attachment annotations — files attached to specific pages via FileAttachment annotations
Note
The dialog checks whether the open PDF is a Portfolio: for a Portfolio its files are extracted by PDF Portfolio items, otherwise by Embedded file attachments. The box that does not apply is greyed and labelled. The dialog remembers its last settings.
How to use
- Open the PDF document containing attachments or portfolio items.
- Go to Plug-Ins > Split > Extract Attachments and Portfolio Items.
- Set the Output folder where extracted files will be saved.
- Select which types of attachments to extract using the checkboxes.
- Optionally enable Preserve Portfolio folder structure to maintain portfolio folder hierarchy.
- Click OK to extract the files.
Options
| Option | Description |
|---|---|
| Output folder | The folder where extracted files will be saved. Click Browse to select a folder. |
| PDF Portfolio items | When enabled, extracts the files contained in a PDF Portfolio. In a portfolio, every document-level file is a portfolio item, so this is the option that extracts them. |
| Embedded file attachments | When enabled, extracts document-level embedded file attachments from a document that is not a PDF Portfolio. If the ticked option does not apply to the open document, the summary says which one does. |
| File attachment annotations | When enabled, extracts files from FileAttachment annotations on individual pages. |
| Preserve Portfolio folder structure | When enabled, recreates the portfolio's folder hierarchy in the output folder. When disabled, all files are extracted to the top level of the output folder. |
Tip
If you only need to extract files from a PDF Portfolio, uncheck the other extraction types to speed up the process.
Note
If multiple attachments have the same file name, a numeric suffix is added to avoid
overwriting (e.g. document(2).pdf).
At least one attachment type must be selected. From Watch Folder or the command line, a document from which nothing could be extracted is reported as failed.