Column Page Totals in a PdfPTable?

View: New views
5 Messages — Rating Filter:   Alert me  

Column Page Totals in a PdfPTable?

by Jeremy Cowgar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to create column page totals in a long PdfPTable with out  
success. I read in an old email where I should be checking for table  
height and adding a new row in when the height gets to the point of  
causing a new page but I am unable to find how to accomplish that task.  
Right now I am doing:

for (LogEntry e: entries) {
     table.addCell(...);
     table.addCell(...);
}

doc.add(table);

Can anyone shed some light on how I could add in totals into my table per  
page?

Thank you,

Jeremy



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Column Page Totals in a PdfPTable?

by Jeremy Cowgar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is this not possible?

Jeremy

On Sat, 31 Oct 2009 00:07:26 -0400, Jeremy Cowgar <jeremy@...>  
wrote:

> I am trying to create column page totals in a long PdfPTable with out
> success. I read in an old email where I should be checking for table
> height and adding a new row in when the height gets to the point of
> causing a new page but I am unable to find how to accomplish that task.
> Right now I am doing:
>
> for (LogEntry e: entries) {
>      table.addCell(...);
>      table.addCell(...);
> }
>
> doc.add(table);
>
> Can anyone shed some light on how I could add in totals into my table per
> page?
>
> Thank you,
>
> Jeremy

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Column Page Totals in a PdfPTable?

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeremy Cowgar wrote:
> Is this not possible?

Yes, but there's no sample code available.
(And it takes some programming.)
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Column Page Totals in a PdfPTable?

by Jeremy Cowgar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 03 Nov 2009 11:39:18 -0500, 1T3XT info <info@...> wrote:

> Jeremy Cowgar wrote:
>> Is this not possible?
>
> Yes, but there's no sample code available.
> (And it takes some programming.)

I cannot imagine I'm the only one who has wanted to do this? Any chance on  
getting a demo or at least some hints?

Jeremy



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Column Page Totals in a PdfPTable?

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeremy Cowgar wrote:
> On Tue, 03 Nov 2009 11:39:18 -0500, 1T3XT info <info@...> wrote:
>
>> Jeremy Cowgar wrote:
>>> Is this not possible?
>> Yes, but there's no sample code available.
>> (And it takes some programming.)
>
> I cannot imagine I'm the only one who has wanted to do this? Any chance on  
> getting a demo or at least some hints?

As always: paid work gets priority.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/