Add support of table view for pdf.