-1

How to create outline tree for a PDF generated from HTML using iText (V.5) JAVA ? The outline tree is bookmark tree. I want all headers in my HTML to be nodes in my Outline tree. So it will be like:

H1
-H2
--H3
---H4

And so. Is there any way to do this ?

user3769778
  • 967
  • 2
  • 7
  • 26

1 Answers1

0

I found an answer some where on other site can't remember, but it was similar to this answer : Bookmarks with xhtmlrenderer (iText) So any body faces this issue refer this answer.

Community
  • 1
  • 1
user3769778
  • 967
  • 2
  • 7
  • 26