Joe McVerry wrote:
> I copied the section logic out of the itext api html docs and all pdf shows is
> the chapters, no sections.
I don't know where you found your example,
but it's wrong. The official documentation
(the tutorial, the iText book, my explanations
sent to the mailing list) is clear:
I copied the section logic out of the itext api html docs and all pdf shows is
the chapters, no sections.
doc = new Document(PageSize.A4, 50, 50, 50, 50);
PdfWriter.getInstance(doc, new FileOutputStream("c:/try2.pdf"));
Paragraph phrase = new Paragraph("Hello