PDF::Writer and simpletable height

Discussion in 'Ruby' started by Pekka Paal, Sep 27, 2007.

  1. Pekka Paal

    Pekka Paal Guest

    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.
    --
    Posted via http://www.ruby-forum.com/.
     
    Pekka Paal, Sep 27, 2007
    #1
    1. Advertising

  2. On 9/27/07, Pekka Paal <> 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
    --
    Austin Ziegler * * http://www.halostatue.ca/
    * * http://www.halostatue.ca/feed/
    *
     
    Austin Ziegler, Sep 27, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vasudevram
    Replies:
    0
    Views:
    257
    vasudevram
    Jul 25, 2006
  2. Neha Chopra

    PDF::SimpleTable

    Neha Chopra, Oct 4, 2007, in forum: Ruby
    Replies:
    6
    Views:
    142
    Martin DeMello
    Oct 9, 2007
  3. Ricardo Pog
    Replies:
    1
    Views:
    491
    Austin Ziegler
    Mar 26, 2008
  4. Sean Nakasone
    Replies:
    1
    Views:
    431
    Farrel Lifson
    Apr 14, 2008
  5. Jim Burgess
    Replies:
    6
    Views:
    169
    Gregory Brown
    Jul 23, 2009
Loading...

Share This Page