Title: RE: [iText-questions] Handling page breaks

PdfPTable always break with full rows. If you have a table inside bigger that the page size the outer row will disappear as documented in the PdfPTable javadoc. In any case the header is always the header of the outer table.

Best Regards,
Paulo Soares

    -----Original Message-----
    From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Ujjwala Kadam

    Sent:   Thursday, January 22, 2004 6:27
    To:     [EMAIL PROTECTED]
    Subject:        [iText-questions] Handling page breaks

    Hi,
    I have a main table and one more table nested into it. Nested table has some header. If size of the nested table is large,it should span on the next page and in that case its header again has to be drwan. My question is, wheter the main table gets added into the document first and the nested table gets added later OR vice versa. I understand that while adding cells into the nested table I have to call writer.fitsPage() and if its false I have call newPage() but what I am not understanding is, after creating the new page I should add a row in the nested table or I should add the nested table into the main table..

    I hope I gave the problem definition properly.
    Note: I am using PDFPtable
     
    Thanks and regards
    Ujjwala

      _____ 

    Do you Yahoo!?
    Yahoo! SiteBuilder - Free web site building tool. Try it! <http://us.rd.yahoo.com/evt=21608/*http://webhosting.yahoo.com/ps/sb/>

Reply via email to