For that kind of work place each row one of a time and when approaching the
end of the page place an extra row with the subtotal.

----- Original Message ----- 
From: "Charlie Solomon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 18, 2004 7:24 PM
Subject: [iText-questions] PdfPTable column totals in footer


> I've been trying unsuccessfully to add a footer table
> (one row) to the bottom of each page my main PdfPTable
> is generated on.  I don't know in advance how manys
> rows per page will be generated, or how many pages...
> so I can't write the totals to the footer as the pages
> are being generated - only after the table has
> finished.  But I do know which column of the table has
> the values I would like to total (for example, an
> invoice with amount column and page/grand total
> footer, aligned under the correct column).
>
> Can someone recommend a good method for this?  Can I
> even use a PdfPTable object in a template field, or is
> that only for text and images?
>
> My program is written in C#, using the iTextSharp port
> of iText.  I'm thinking about using the .Net port soon
> though, since it seems to be closer to the most recent
> Java version.
>
> Thanks,
> -Charlie
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to