parse pdf with Toc content to an array of article attributes