|
Hi, I have a dynamic PDF file generated. It gets the data from
the database and creates the PDF file. Now I wanted to create a "Table of contents"
page in the beginning with hyperlinks to respectable headers. My programme knows the title names. My
code looks something like this for(int i=0; i < rec.size(); i++) {
if(title....... )
{
document.add(new Paragraph("add my header"));
.....
}
else
{
document.add(new Paragraph("print my content"));
.....
} } Now how to I generate the "Table of contents
page". Any sample code would be helpful. Thanks |
- RE: [iText-questions] Creating "Table of conten... Kalluru Uma. Maheswar
- RE: [iText-questions] Creating "Table of c... Paulo Soares
