3 Replies Latest reply: Feb 14, 2010 7:05 AM by lrosenth RSS

    Chaning the bookmarks root with PDBookmark api

    Doron Ori Tal Community Member

      Hello Acrobat Experts,

       

      I'm working recently with bookmarks, and my mission is to sort document's bookmarks by a specific order.

      When I recursively going through the levels there is no problem - except for the first level under the root.

      Somehow, the effect of changing the order / location of its child (by using PDBookmarkUnlink and PDBookmarkAddChild / AddNext / AddPrev) cause Acrobat to miss misbehave

       

      Actually, if I understand correctly this behavior, Acrobat is not changing it's root association corresponding to its current first child.

      The original first child of the root (acquired from PDDocGetBookmarkRoot) is still active though it is no longer the first one.

       

      Did anyone got into this problem before?

       

      Can you help me with this?

       

      Many thanks,

      Doron Ori Tal