Extract text from PDF (Table of Contents) Ignoring page and