Class PdfPageSplitter

All Implemented Interfaces:
Configurable<PdfPageSplitterConfig>, ConfigurableDocHandler<PdfPageSplitterConfig>, DocHandler

public class PdfPageSplitter extends AbstractDocumentSplitter<PdfPageSplitterConfig>

Split PDFs pages so each pages are treated as individual documents. May not work on all PDFs (e.g., encrypted PDFs).

The original PDF is kept intact. If you want to eliminate it to keep only the split pages, make sure to filter it. You can do so by filtering out PDFs without one of these two fields added to each pages: document.pdf.pageNumber or document.pdf.numberOfPages. A filtering example:

By default this splitter restricts its use to document.contentType matching application/pdf.

Should be used as a pre-parse handler.

See Also: