Convert a PDF into a table