title_body: Automatic creation of bookmarks from Table Of Content
upvoted_answer: Try using pyPdf library.
  
  And use the parser above the ToC extracted area (your non-clickable index with chapters). If it's text.
  
  If it's vector shapes that look like letters but do not have the information that they are letters. Then you must still use OCR to convert it to editable text.