I detect if a document is added to a "Chunk" after adding Chunk.NEWLINE,
next Chunk is not under, but he is on the same line.
eg:
Document documento = new Document();
try {
PdfWriter.getInstance(documento, new FileOutputStream("EX.pdf"));
documento.open();
documento.add(new Chunk("EX"));
documento.add(Chunk.NEWLINE);
documento.add(new Chunk("LE"));
documento.add(new Chunk("LE"));
documento.close();
} catch (DocumentException ex) {
} catch (java.io.IOException ex) {
}
Thanks a lot
Nconde
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php