I'm still unsure about how to make this happen.  At a high level, am I
changing the content of the ColumnText cell, or am I creating a new
ColumnText and writing over the top of what's already in the cell, at an
absolute position?

Jason

-----Original Message-----
From: Jason Berk [mailto:jb...@purdueefcu.com] 
Sent: Thursday, July 08, 2010 2:19 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] pdfptable header rows

I understand, but could you provide a sample of how to modify the text
of a PdfPCell in the cell event?  All the examples I see draw lines and
circles...nothing shows text manipulation.

Jason

-----Original Message-----
From: 1T3XT info [mailto:i...@1t3xt.info] 
Sent: Thursday, July 08, 2010 12:23 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] pdfptable header rows

Jason Berk wrote:
> I need to produce a table that could span multiple pages and will
always
> be the first thing added to a new page in a document.  There are two
> header rows.  The first header is a description that spans all table
> columns.  The second header is actual column headers (one per column).
> When the table makes it to the second page, I need the headers to
> reprint, but I want the description header to add "(Continued)".  

If "(Continued)" needs to be in a separate row, I don't have an 
immediate answer. If it can be added to an existing row:

Savings Account           (Continued)
Date | description | amount | balance
7/10 | foo         |   9.99 |  100.00
7/10 | foo         |   9.99 |  100.00

I would use a cell event.
The cell event would have a member variable to keep track if it
has already been used. If not: then the cell is added for the first
time; if so: the word "(Continued)" needs to be added.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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/

***This is a transmission from Purdue Employees Federal Credit
Union (PEFCU) and is intended solely for its authorized
recipient(s), and may contain information that is confidential
and or legally privileged.  If you are not an addressee, or the
employee or agent responsible for delivering it to an addressee,
you are hereby notified that any use, dissemination,
distribution, publication or copying of the information 
contained
in this email is strictly prohibited. If you have received this
transmission in error, please notify us by telephoning (765)
497-3328 or returning the email. You are then instructed to
delete the information from your computer.  Thank you for your
cooperation.***


------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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/

***This is a transmission from Purdue Employees Federal Credit
Union (PEFCU) and is intended solely for its authorized
recipient(s), and may contain information that is confidential
and or legally privileged.  If you are not an addressee, or the
employee or agent responsible for delivering it to an addressee,
you are hereby notified that any use, dissemination,
distribution, publication or copying of the information 
contained
in this email is strictly prohibited. If you have received this
transmission in error, please notify us by telephoning (765)
497-3328 or returning the email. You are then instructed to
delete the information from your computer.  Thank you for your
cooperation.***


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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/

Reply via email to