Zend certified PHP/Magento developer

Can Acrobat’s JS interface automate bookmarking an existing, formatted listing of page numbers?

I am unfamiliar with Acrobat’s Javascript interface and would like to know if the following is even possible: am having no luck searching for existing examples. It’s hard to believe no one else has had to do this, so I am hoping this is a search fail on my part.

I am looking for a way to examine the font styles of numbers in an existing PDF (these numbers all have a specific font / font size), then automatically bookmark these numbers with their corresponding PDF pages. I know I can do this manually with the Links tool; I have about 700 page numbers to bookmark, thus the need for automation.

If that sounds like bookmarking an existing table of contents: that’s exactly it, but there’s more than one table (also a table of figures, illustrations, an index…)

Due to a long list of restrictions, I cannot re-export the full document from its original source with these already bookmarked. I have to work with a final (heavily edited) PDF. I know that’d be the best solution but again, this is impossible for me.

Before I launch into hours of script creation, could someone confirm if Acrobat gives me the capacity to do this? From the Googling I’ve done it seems like I’m asking for too much.

Thanks in advance (if anyone has pointers I’d take those too).