Here's the PDF output. Section 'Conditions' should be still in portrait. >From section 'Processes' landscape orientation should be switched on.
Dirk > > -------- Original-Nachricht -------- > Datum: Thu, 04 Jan 2007 10:49:05 +0100 > Von: Bruno Lowagie <[EMAIL PROTECTED]> > An: Post all your questions about iText here > <[email protected]> > Betreff: Re: [iText-questions] Section breaks > > 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/ > -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
checklist.pdf
Description: Adobe PDF document
------------------------------------------------------------------------- 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/
