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
…