PDF::Writer and simpletable height

Hi!

I was wondering if there’s any way to track the height of a simpletable?
I mean the height of course increases if rows are split over two or more
rows, which means that I can’t blindly check for amount of objects that
are inserted into the table.

So what I need is a way to check if the table will fit on the current
page, else move the whole table to the next page.

Thanks for any help on this.

On 9/27/07, Pekka P. [email protected] wrote:

I was wondering if there’s any way to track the height of a simpletable?

There’s no need to do that, but there’s also no way to force a table
to be on a single page, just to prevent the table from splitting rows
across pages.

-austin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs