With everything that Adobe can do, can we print bookmarks? I mean the actual index you've set up to bookmark a document? We have several documents that need to be bookmarked in the same style and don't always remember how we set things up. Thanks.
My Product Information:
Acrobat Pro 8 / Windows
Offline

Although there's no way to do this directly in Acrobat, there is a workaround via JavaScript. There is a sample in the Acrobat JavaScript API Reference, which can be viewed and dowloaded from http://www.adobe.com/devnet/acrobat. Here's the code that can be run from most events, such as a custom menu selection or a page action. It will dump the bookmarks and their hierarchy into the Acrobat JavaScript console, which you can copy and paste. Roll up your sleeves now...
function DumpBookmark(bkm, nLevel)
{
var s = "";
for (var i = 0; i < nLevel; i++) s += " ";
console.println(s + "+-" + bkm.name);
if (bkm.children != null)
for (var i = 0; i < bkm.children.length; i++)
DumpBookmark(bkm.children[i], nLevel + 1);
}
console.clear(); console.show();
console.println("Dumping all bookmarks in the document.");
DumpBookmark(this.bookmarkRoot, 0);
Hope that helps,
Ali Hanyaloglu
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in