I have an .odt document I have converted to .pdf, with many different sections, subsections, subsubsections, etc.. In the PDF I want to create a nice bookmark table to easily navigate the document.
The good part is the sections I need bookmarked are either bolded or italized which is different from all text of the document. Presently I'm bookmarking one by one which will take a number of hours but I have no idea where to look for a program to do this task or how to start with scripting this.
Even a program on Windows would help - I guessing it's against the rules to mention Windows, but by some off-chance something like this exists it would save me hours. I'm assuming it doesn't and the only way would have to be by way of a script into a pipe. So if anyone knows how to go about this it would be most appreciated.