You need a PDF Writer (or library) which is able to read the PDF and has an API (for example COM) for retrieving objects from that. I used Acrobat Pro for that job which isn't quite comfortable and has a lot of sample code but it is pretty expensive especially if you would need to distribute it with your program.
Bookmarks