Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | Previous | Next | (P-PDF) Developers

Topic: Reverse Bookmark Oddity
Conf: (P-PDF) Developers, Msg: 118357
From: jw239
Date: 9/8/2004 01:55 AM

I wrote a small plug-in for Adobe in C++ that renumbers child bookmarks. For example if two bookmarks (Page 7, Page 8; where “Page X” is the bookmark name) are moved to be children they would be renamed (parent->{Page 1, Page 2}) This works wonderfully.

The problem arises when two or more additional bookmarks are moved to the top of the list. To continue with the above example, two more bookmarks are moved (Page 9, Page 10) to the top of the child list. This makes the new list (parent->{Page 10, Page 9, Page 1, Page2}), where the moved bookmarks are improperly in reverse order, which is then renumbered (parent->{Page 2, Page 1, Page 3, Page 4}). When I get the first child of the list it returns “Page 1”, so Adobe doesn’t realize that the list is in the wrong order. When the pdf is saved, closed and reopened the list displays in the proper order. This only happens when items are moved to the top of the list, if placed in the middle of the child list the renumbering works perfectly.

Does anyone know why this happens or any work-arounds? I saw some posts about reverse order bookmarks, but no solutions. I was thinking of something along the lines or refreshing the bookmark list, but I don’t even know if that’s possible. Any help would be highly appreciated.

Thank you,

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.