PDF Tools
Split PDF by Chapters
Splits a single PDF or multiple PDFs based by chapter bookmark levels
Uses
Use this task for splitting a PDF into multiple smaller PDFs at specified chapter bookmark levels.
Basic Usage
Flow Data Explained
required array
files An array of PDF file objects to be split at specified chapter bookmark levels.
required integer
bookmark_level The bookmark level at which to split the PDF. For example splitting at level 0
would return
PDFs each containing entire top level chapters, e.g Chapter 1
, Chapter 2
, etc. Splitting at
level 1
would return PDFs of chapters: Chapter 1
, Chapter 1.1
, Chapter 2
, etc.
required boolean
include_metadata Whether to include metadata or not in the resulting PDFs.
required boolean
allow_duplicates Whether to allow duplicates of certain chapters or not.
required string
function The pdf_tools
function to call, in this case it would be split_pages