If precise layout is important you'll have to use PdfPTable.
Best Regards,
Paulo Soares
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Bill Simpson
Sent: Tuesday, February 10, 2004 17:05
To: [EMAIL PROTECTED]; itext-questions
Subject: RE: [iText-questions] Table - setTableFitsPage {Scanned}
There is a method for determining if a table fits the page after a row has
been added. Use this method. If the table will not fit the page, given
your column length, delete the cell, move to the next column, and start a
new table. I currently use this method when building large tables not for
the purpose of column splitting, but to keep the tables small in memory
(tables are not rendered to the PDF until you close them). Thus, when my
table reaches the end of the page I end the table, and start a new one on
the next page.
Good luck!
Bill
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 5:02 AM
To: [EMAIL PROTECTED]; itext-questions
Subject: RE: [iText-questions] Table - setTableFitsPage {Scanned}
Hi again,
I noticed nobody has replied to my post. I just wondering if you think maybe
these are stupid questions or maybe there's an answer somewhere in the mail
archive that i've overlooked. Anyway, i'd appreciate a pointer on what do
with
my problem if possible.
Daniel.
>===== Original Message From "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> =====
>Hi,
>
>I have been using itext from a couple of months now and it has been the
answer
>to my prayers for solving the current project i'm working on. I'm also very
>impressed on how much time you guys spend answering questions. I'm using
iText
>to create a classified advertising magazine. I'm inserting the ads into the
>document using a Table.
>
>The table has 6 columns. I'm wondering if there is an easy way to tell when
a
>cell has reached the end of a page so I can start at the top of the page
again
>instead of moving to a new page.
>
>Also, I have been trying to use the setTableFitsPage(true) flag so that
when
>the first column reaches the bottom of the page, it won't automatically
jump
>to another page. But it seems to just create a new page and move on anyway.
Is
>this right?
>
>Last question, I was using the setBorder(Rectangle.NO_BORDER) to hide the
>borders on the cells although this doesn't seem to work with the new
version.
>I'm wondering if this is still supported.
>
>I would appreciate any advice that anyone has regarding using itext for
>inserting large amounts of data using tables.
>
>Thanks in advance,
>Daniel.
>
>
>--
>This message has been scanned for content and
>viruses by the DIT Information Services MailScanner
>Service, and is believed to be clean.
>http://www.dit.ie
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by EclipseCon 2004
>Premiere Conference on Open Tools Development and Integration
>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>http://www.eclipsecon.org/osdn
>_______________________________________________
>iText-questions mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>--
>This message has been scanned for content and
>viruses by the DIT Information Services MailScanner
>Service, and is believed to be clean.
>http://www.dit.ie
--
This message has been scanned for content and
viruses by the DIT Information Services MailScanner
Service, and is believed to be clean.
http://www.dit.ie
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
