title: How could I link the items in the table of contents to their respective target pages?
body: <p>I am currently using the <a href="http://www.xhtml2pdf.com/" rel="nofollow">XHTML2PDF</a> library to turn html to PDF file,and generate the table of contents with page number behind based on some html tag such as H1, H2, this is really nice feature.</p>
  
  <p>But my problem is the generated table of contents are static items, how could I turn them into clickable ones, when i click on it, I want it to take me to the target page.</p>