Don't worry with the result. If it fails it will throw an exception. Best Regards, Paulo Soares
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jan Bentzen > Sent: Wednesday, April 14, 2004 12:46 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Potential bug: Document.newPage() > ignores results of its listeners > > The call to Document.newPage() forwards the request to its > listeners, but > the result of the listeners newPage() call is ignored: > > DocListener listener; > for (Iterator iterator = listeners.iterator(); > iterator.hasNext(); ) { > listener = (DocListener) iterator.next(); > listener.newPage(); // <-- Result is ignored! > } > return true; > > Is this a bug? Shouldn't it honour the results of its > listeners, like in > Document.add(Element)? > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
