I figure it out and it is working well.  Thank you for that link!  

I am not sure which part made the major difference, but I am guessing it was
splitting the form field stamping from stamper that added the columntext to
the overContent.

Also, my version doesn't seem to work the way this persons's did.  I had to
use setSimpleColumn instead of setYLine in:

    // You should insert a new page and get a new cb from that page.
    while ( ColumnText.hasMoreText(status) ) {
        stamper2.insertPage(++pageCt, PageSize.LETTER);
        cb = stamper2.getOverContent(pageCt);
        cb.addTemplate(sowPage,0,0);  // add the static page as background
        ct.setCanvas(cb);
        ct.setYLine(ury);
        status = ct.go();
    } 

When i only set the yLine, nothing past the first page printed to the PDF. 
I debugged, and it knew there was additional text in the ColumnText, but
nothing made it to the page.


1T3XT info wrote:
> 
> pickm wrote:
>> Is it possible to do something like this
> 
> Have a look at this: http://tinyurl.com/dfbole
> It's a solution to a similar problem.
> -- 
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Form-letter-body-text----Span-pages--tp22233010p22314424.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to