with php i have to split a single pdf file with multiple pages inside it to a lot of PDF file with one page per file. I use pdftk and works fine, but every pdf created for e
Had a similar problem. But does not apply 1:1 to the question. Anyways somebody might find it useful:
Reference: cpdf to extract and apply bookmarks: http://www.coherentpdf.com/cpdfmanual/node38.html
cpdf -list-bookmarks original.pdf > booksmarks.txt
cpdf -add-bookmarks booksmarks.txt new.pdf -o result.pdf