Finish the search methods for Pdf and add extractText()