The border will be on top of the other, no double border here.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve Appling
> Sent: Wednesday, September 29, 2004 4:06 PM
> To: Wellman, Daniel; [EMAIL PROTECTED]
> Subject: Re: [iText-questions] large PdfPTables and fitsPage
> 
> Thanks for the suggestions, but after looking into it more, I 
> think I like Paulo's idea.  I didn't
> originally understand what setSkipFirstHeader was doing.  I'm 
> going to try to make an example to
> exercise this later this afternoon.  I want to test this with 
> borders, it seems like you will get a
> double border width when the additional tables are added 
> (unless PdfPTable takes this into account,
> which it may).  If this technique works for me, I'll post the 
> example.  I think that people should
> be encouraged to use this instead of the Chap0513 way.  I 
> always thought that pulling out the last
> row and re-adding it was a little goofy.
> ----- Original Message ----- 
> From: "Wellman, Daniel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 29, 2004 9:26 AM
> Subject: RE: [iText-questions] large PdfPTables and fitsPage
> 
> 
> 
> Hi Steve,
> 
> I'm not entirely sure what's wrong with 
> PdfDocument.fitsPage(), but from
> what the source looks like, it seems that you could get the existing
> height of a table after adding a row and do the same kind of math
> calculations to see if your table total height (plus margins) has
> wrapped beyond the total height of your page.
> 
> Christian, can you comment on this bug fix that you made?  This might
> clear up the issue.
> 
> From what I could see, PdfDocument.fitsPage() also resets the total
> width of the PdfPTable which is passed to the method - I 
> wasn't sure why
> this was happening.  Maybe that's the problem?
> 
> I also learned this technique from the website tutorial Chap0513.java.
> One problem with this example is that it doesn't work if you 
> are drawing
> table data that is not read from inside a for() loop (for example, a
> row-spanning label dividing sections of your PdfPTable).  If 
> you're in a
> for loop, Chap0513's example works great because you can just 
> delete the
> last row, then roll back the loop counter to re-draw the row on a new
> page.  But if you're not in a for loop, and you've drawn one too many
> rows, you can't get back the row from the table and re-add it.
> 
> Now I use PdfPTable.writeSelectedRows() to control which rows in my
> table to flush to a page.  If the last row I wrote actually wrapped to
> the next page, I can write the first n rows of the table to the page,
> make a new page, write the overflow row to the new page, then create a
> new table for writing.  Doing this means you need to keep track of the
> height of the page manually, since your new page now has 
> table data from
> the last page as well as your new table as well.
> 
> You may also want to see these mailing list messages:
> http://sourceforge.net/mailarchive/message.php?msg_id=9337203
> http://sourceforge.net/mailarchive/message.php?msg_id=9597664
> 
> 
> 
> Daniel Wellman
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve
> Appling
> Sent: Tuesday, September 28, 2004 8:18 PM
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: Re: [iText-questions] large PdfPTables and fitsPage
> 
> How does skipFirstHeader help me effeciently render a very 
> large table?
> I don't see how it is an
> alternative to fitsPage.
> 
> ----- Original Message -----
> From: "Paulo Soares" <[EMAIL PROTECTED]>
> To: "Steve Appling" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, September 28, 2004 5:46 PM
> Subject: RE: [iText-questions] large PdfPTables and fitsPage
> 
> 
> >I still don't care but Christian Lauer fixed fitsPage and it will be
> available in the next release.
> Another option is to use skipFirstHeader.
> >
> >Best Regards,
> >Paulo Soares
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 
> The message contains confidential and/or legally privileged
> 
> information and is intended for use by the indicated addressee.
> 
> 
> 
> If you are not the intended addressee: (a) any disclosure,
> 
> reproduction, distribution or action you take because of it is
> 
> strictly prohibited; (b) please return the complete message to the
> 
> sender; and (c) this message is not a solicitation for purchase or
> 
> sale or an agreement of any kind whatsoever that binds the sender.
> 
> ---------------------------------------------------------------------
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal
> Use IT products in your business? Tell us what you think of 
> them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to 
> find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal
> Use IT products in your business? Tell us what you think of 
> them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to 
> find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to