Dirk Ulrich wrote: > document.newPage() seems not to be regarded and thus the prior section > is written to the document in landscape, too.
No, document.newPage() is triggered BEFORE you add the Chapter you have been building to the document. It's quite elementary if you think about it. If you want a page break inside a section, you need to add a page break chunk: section.add(Chunk.NEXTPAGE); 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/
