Add TOC to PDF from XML/JSON/file?
Posted
by
Elias
on Super User
See other posts from Super User
or by Elias
Published on 2013-11-08T13:22:33Z
Indexed on
2013/11/10
22:03 UTC
Read the original article
Hit count: 282
I currently have a PDF file without any ToC (for example, in Mac's Preview.app, I can't see the ToC in the sidebar).
But I have the TOC in XML format, where there is a title and a pagenumber where that section starts.
Is there any way I can add that TOC to my PDF file in a batch way?
Since I have the TOC in XML, I can basically parse it in any possible way, so if there were a command line to add an TOC item to a PDF, I could also do that.
Any ideas?
© Super User or respective owner