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
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
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
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
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
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.
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.
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
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
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
10 matches
Mail list logo