Splitting PDF by bookmark value

Is there any way to split a PDF file based on a bookmark value?

I don’t believe this is possible. I’m not aware of any method that could be used to read the bookmarks to determine a page to split at.

Has their been any change that would allow splitting a PDF file and retaining the bookmarks for the split file intact relative to each piece? For example if you split the file in half, that the 1st half would contain the bookmarks for the 1st half and none for the 2nd half and the 2nd half has all the bookmarks for the 2nd half and none for the 1st half.

No. To be perfectly transparent, we haven’t looked at that functionality because of a) low demand, and b) size of the project (not a trivial one).

Okay, I did find a command line tool called cpdf that has pre-build binaries that seems to work.

cpdf.exe Combine.pdf -split -chunk 12 -o output_%%%.pdf

Applying this to Workflow using the External plugin like this

Parameters = "%F" -split -chunk %{cPDF_Split} -o "%{cPDF_Tmp}\%{Filename}_%%%%%%.pdf"

1 Like