Nilabhra Banerjee wrote:
> Hi Everybody,
>  
> This is in continuation of my earlier mail.

I must have missed your earlier mail, but when I look at
the code below, I see you are creating a new EndPage()
object over and over again. Why?

I think you want a header with a different String for
every different customer. Why don't you declare this
String as a membervariable, and change it when needed.

Here is a similar example from Chapter 14:
http://itext.ugent.be/itext-in-action/examples/chapter14/SlideShow.java
The page transition and duration are added using a page event.
However, while we are creating the document, we change the
value of the transition and duration.

>   for(count = 0; count < 2; count++){
>     document.newPage();
>    }

Note that document.newPage() doesn't do anything
if no content was added. This is also explained in Chapter 14:
http://itext.ugent.be/itext-in-action/examples/chapter14/EmptyPages.java
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to