RTF Chapters/Subchapters 2006-07-27 - By Alin Popa
Back Hi guys,
I have one problem regarding creation of Chapters and Subchapters. Using iText there is possible to do this kind of structure ? I mean, for example:
Chapter chap=new Chapter("testing",1); chap.addSection(new Paragraph("Sub testing"));
document.add(chap);
After that I'll have something like that:
1. Testing 1.1 Sub testing
but, if I want to add another subchapter to "Sub testing", how can this be done ?
Thanks in advance.
-- Best Regards,
Alin
Hi guys,<br><br>I have one problem regarding creation of Chapters and Subchapters.<br>Using iText there is possible to do this kind of structure ? <br>I mean, for example:<br><br>Chapter chap=new Chapter("testing",1); <br>chap.addSection(new Paragraph("Sub testing"));<br><br>document .add(chap);<br><br>After that I'll have something like that: <br><br>1. Testing <br>1.1 Sub testing<br><br>but, if I want to add another subchapter to "Sub testing", how can this be done ? <br><br><br>Thanks in advance.<br><br clear="all"><br>-- <br>Best Regards,<br> <br>Alin<br>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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 iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|