Hello,
See if this code can help you
Code:
"All Bookmarks are read
jcd = "function DumpBookmark (bkm, nLevel)"
jcd = jcd & "("
jcd jcd & = "var s ='';"
jcd = jcd & "for (var i = 0; i <nLevel; i + +) s + = '';"
jcd jcd & = "s + ='+-';"
jcd = jcd & "bkm.execute (this.gotoNamedDest (bkm.name)); "
jcd jcd & = "s + = bkm.name;"
jcd jcd = & "+ s + ='=====' this.pageNum;"
jcd jcd & = "s + = '\ n';"
jcd = jcd & "bkm.chd if (! = null)"
jcd = jcd & "("
jcd = jcd & "for (var i = 0; i <bkm.chd.length; i + +)"
jcd jcd & = "s + = DumpBookmark (bkm.chd [i], nLevel + 1);"
jcd jcd & = ")"
jcd = jcd & return "s";
jcd jcd & = ")"
jcd = jcd & "DumpBookmark (this.bookmarkRoot, 0);"
Bookmarks