Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread Clayton Cramer
Thanks, but it appears that keepTogether as a method for PdfPTable is newer than iText 1.3. >>> singh317 06/15/2011 11:41 >>> tablename.keepTogether(true) should do the trick for you . If somehow this dosent work ( 0% chance though ) , jus nest the whole table in another table , as the new tab

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread singh317
tablename.keepTogether(true) should do the trick for you . If somehow this dosent work ( 0% chance though ) , jus nest the whole table in another table , as the new table will have only one row consisting of the nested table , itext wont split it ( splitting of rows is not done for rows of size l

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread Nurettin DAG
I dont know if the version you are using has this but table.setKeepTogether(true); seems to be doing the job in v5 On Wed, Jun 15, 2011 at 12:24 PM, Clayton Cramer wrote: > Yes, I just found out how far out of date this is. And this is the least > of our problems. > > >>> 1T3XT BVBA 06/15/2011

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread Clayton Cramer
Yes, I just found out how far out of date this is. And this is the least of our problems. >>> 1T3XT BVBA 06/15/2011 10:17 >>> On 15/06/2011 18:15, Clayton Cramer wrote: > I am using itext-1.3. iText 1.3 dates from 2005. Do you hear me running? Yes? That means I should run faster... away... stil

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread 1T3XT BVBA
On 15/06/2011 18:15, Clayton Cramer wrote: > I am using itext-1.3. iText 1.3 dates from 2005. Do you hear me running? Yes? That means I should run faster... away... still... hear... me...? -- EditLive Enterprise is the wor

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread Clayton Cramer
Perhaps I should clarify: I am using itext-1.3. Might this explain the problem? As much as I want the ability to keep together a table, if I have to upgrade to a current version of itext, the risk is too high that it will break the rest of this creaky product that I am struggling to maintain.

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread 1T3XT BVBA
On 15/06/2011 18:05, Clayton Cramer wrote: > What is the correction solution to this problem? Is there a way to tell a > table not to split on a page boundary? Two possible solutions jump to mind: 1. Wrap it in a ColumnText object and add the table in simulation mode. If it fits, add it for real.

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-15 Thread Clayton Cramer
What is the correction solution to this problem? Is there a way to tell a table not to split on a page boundary? >>> 1T3XT BVBA 06/14/2011 23:56 >>> On 15/06/2011 0:04, Clayton Cramer wrote: > This should be really simple: I have a PdfPTable that crosses a page > boundary. I would like to tel

Re: [iText-questions] widow/orphan control for PdfPTable

2011-06-14 Thread 1T3XT BVBA
On 15/06/2011 0:04, Clayton Cramer wrote: > This should be really simple: I have a PdfPTable that crosses a page > boundary. I would like to tell iText to force a page break before the > PdfPTable if it would split the table. According to section 6.1.5 of iText > in Action, I should be able to

[iText-questions] widow/orphan control for PdfPTable

2011-06-14 Thread Clayton Cramer
This should be really simple: I have a PdfPTable that crosses a page boundary. I would like to tell iText to force a page break before the PdfPTable if it would split the table. According to section 6.1.5 of iText in Action, I should be able to do this with table.setSplitLate(true). But wheth