We have successfully created a great table of contents using
DDX example from Raymond Camden, we are not able though to work out
how we can produce the nesting of the table of contents items.
i.e. Main section.....1
Sub section ......2
> how we can produce the nesting of the table of contents
I suspect you may be out of luck with cfdocument generated
From Raymond's article, cfdocumentsection is what generates
the headings used in the table of contents. IIRC, you cannot nest
cfdocumentsection tags (to create nesting in the table of
contents). You can add bookmarks with ddx, but not from CF.
Bookmarks are on the restricted list.
You could do that sort of thing with iText, but it involves
more complexity than cfdocument. It might not be worth it just for