Thanx for info. How do I repeat header rows in case of PDFTable? similar to
using endHeaders()in case of 'Table'.

Q: Should I go with PDFTable or Table?. Which is better? I know its a broad
question but wanted to know before I start digging as I am on time crunch.


Cheers,
Ram.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paulo
Soares
Sent: Thursday, September 05, 2002 4:38 AM
To: 'Ram Guttikonda'; Itext-Questions
Subject: RE: [iText-questions] PDFPtable vs Table


PdfPTable has other way of setting the header size and some method names are
also different. See the javadoc for PdfPTable and PdfPCell. For your
particular case:

PdfPTable.setHeaderRows(number_of_top_rows)
PdfPTable.getDefaultCell().setBorderWidth(2)
PdfPTable.getDefaultCell().setHorizontalAlignment(1)
PdfPTable.getDefaultCell().setBorder(Rectangle.NO_BORDER)

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Ram Guttikonda [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 20:01
> To:   Itext-Questions
> Subject:      [iText-questions] PDFPtable vs Table
>
> I need some help/advice on the use of PDFPtable vs Table. Considering I am
> interested only in PDF. I thought PDFPtable provides richer functionality
> than Table. That being said. This is what I would use with 'Table' for my
> need.
>
>
> table.endHeaders(); (need to repeat the headers for table automatically)
> table.setDefaultCellBorderWidth(2);
> table.setDefaultHorizontalAlignment(1);
> Table with No borders.
>
> This works fine with 'Table' but not with PDFPtable. Do we have an example
> which deals with the above and a table with no
> borders(table.getDefaultCell().setBorder(Rectangle.NO_BORDER)??).
>
> Any pointers will help.
>
> Cheers,
> Ram.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to