Drawing tables
This sample illustrates how to draw a simple table and split table rows across pages by
using horizontal page breaks.
This sample uses rect and drawText methods to draw table cells.
The addPage method is used to add a new page if a row exceeds the page bounds.