Re: [iText-questions] Having trouble with Events

2008-02-19 Thread mister bean
Did you use iTWriter.setPageEvent( new OnPageEnd() ); somewhere before the pageEvent is first triggered? If not, iText has no idea that you've created this event. ---mr.bean jlopes151 wrote: Ok I created a class extended it with PdfPageEventHelper put a Println in the onEndPage

Re: [iText-questions] Having trouble with Events

2008-02-19 Thread jlopes151
Found the help I needed on the iText site created an Event class implementing the PdfPageEvent intf then passed it to my writer.setPageEvent(myEventCls); Everything works now. Thanks for the reply -- Original message -- From: mister bean [EMAIL PROTECTED] Did you

[iText-questions] Having trouble with Events

2008-02-19 Thread jlopes151
Ok I created a class extended it with PdfPageEventHelper put a Println in the onEndPage method and nothing printed. public class MyClass extends PdfPageEventHelper{ .. code to produce a pdf works with out error . after a number of rows I execute newPage() public void