I use the itext version 2.0.1, i've updated it because i needed the function setBookmarkTitle. In my IDE (eclipse) i can access this method like this.
Chapter chapter = new Chapter(p,i+1); chapter.setNumberDepth(0); chapter.setBookmarkTitle(chunk.content()); chapter.setTriggerNewPage(false); doc.add(chapter); Bruno Lowagie (iText) wrote: > > fr3ak wrote: >> java.lang.NoSuchMethodError: >> com.lowagie.text.Chapter.setTriggerNewPage(Z)V > > Have you checked if the iText version you are using already > has this method? Could be you're using an old version. > br, > Bruno > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > > -- View this message in context: http://www.nabble.com/Chapter-tf2670289.html#a9835472 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
