Hello all, I have an application written in JSP that generates output in either PDF or RTF format. Everything seems to turn up well for both formats except for the page breaks. The page breaks are ok in PDF but they don't appear in RTF. When scanning thru the RTF codes within the RTF file, I noticed the {/page} code is not present in it.
For the page breaks, I have used document.newPage() for boths instances. Is there a way I could force the {/page} RTF codes into the output stream, or is there another method() I should be using? In addition, I noticed that the document.getPageNumber() always returns 0 for both instances. Incidentally I am using RtfWriter and not RtfWriter2 for the application. Any help is most appreciated. Thanks, Ravi __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions