I think I already know the answer to this question (use writeSelectedRows to layout everything yourself), but is there any way to check if a table will fit on a page before adding it to the document?  Basically, I have to create a report where there are different account sections and we don't want to start a header on the bottom of a page, so I would like to be able to tell if the table I am about to write (table which includes the header and the first line of data) will fit on the current page or whether I should create a new page.
 
Thanks for your help,
Andy

Reply via email to