here's an example which demonstrates the issue. the document I'm
working on is a bit more complex though and involves headers/footers
within nested tables. please keep me in cc since I'm not subscribed..
PdfPTable outerTable = new PdfPTable( 2 );
outerTable.WidthPercentage = 75;
outerTable.DefaultCell.Padding = 10;
for ( int i = 0; i < 2; i++ )
{
{
PdfPTable innerTable = new PdfPTable( 1 );
innerTable.ExtendLastRow = true;
innerTable.WidthPercentage = 50;
PdfPCell innerCell = new PdfPCell( innerTable.DefaultCell );
innerCell.Column.SetText( new Phrase( "I'd like this nested
table to
extend over the whole cell, but it just ends here. how do I position
content at the _real_ bottom of the cell on the next page?" ) );
innerCell.VerticalAlignment = PdfPCell.ALIGN_BOTTOM;
innerTable.AddCell( innerCell );
outerTable.AddCell( innerTable );
}
{
PdfPTable innerTable2 = new PdfPTable( 1 );
innerTable2.WidthPercentage = 50;
for ( int j = 0; j < 80; j++ )
{
PdfPCell innerCell2 = new PdfPCell(
innerTable2.DefaultCell );
innerCell2.Column.SetText( new Phrase( "text" ) );
innerTable2.AddCell( innerCell2 );
}
outerTable.AddCell( innerTable2 );
}
}
On Tue, Jun 8, 2010 at 7:50 PM, Marco Schindler
<[email protected]> wrote:
> Ok, assuming there's no way to do this atm, would it be possible to
> add support for specifying which boundary "extendLastRow" should use
> (eg. page boundary, container/document boundary)?
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/