Merging a PDF with bookmark as a child of a bookmark node

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Merging a PDF with bookmark as a child of a bookmark node

    I have already developed a plugin that merges several PDF's and generates bookmarks
    But there is one issue
    If a PDF already has bookmarks, I dont see the bookmarks inserted after that pdf file, instead they appear as a sibling of the root.

    I have tried using
    PDDocInsertPages(pdDoc1,PDLastPage ,pdDoc2, 0, PDAllPages ,PDInsertBookmarks, NULL,NULL,NULL,NULL);.
    This is probably causing the bookmarks to show up as siblings of the root

    as well as

    PDDocInsertPages(pdDoc1,PDLastPage ,pdDoc2, 0, PDAllPages ,PDInsertAll, NULL,NULL,NULL,NULL);

    Any suggestions as to how to add a PDF file with bookmarks as a child of an existing bookmark , so that all the bookmarks of this PDF file will be children of the node under which this file is added

    Also i need to know, if by doing this will it preserve the bookmark actions of the PDF file will be preserved

    Thanks
    Swapneel
    swapneel_kulkarni@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. bookmark
      I have a form that does a few things, such as collect data and than using cdonts emails this data to a place to be parsed. I need to add a...
    2. bookmark object
      I want to expand a bookmark with a single click on the icon or text of the bookmark. I put this script on the document: function...
    3. Is this a bookmark bug in 6 Pro?
      If I set an action to go to a page in another document, then select the document in the dialog box, then select either the page # or the named...
    4. Help Please -Bookmark help - File Name= Bookmark
      Is there a way in Acrobat to import multiple .pdf files and have each files file name show up as a bookmark?
    5. Why can't I set a Bookmark
      I had the same problem using Acrobat 4.0, tried printing existing pdf file with Acrobat Distiller and it created new document without security...
  3. #2

    Default Re: Merging a PDF with bookmark as a child of a bookmark node



    Also i need to know, if by doing this will it preserve the bookmark actions
    of the PDF file will be preserved




    If the bookmark action is to go to a specific page, no it will not be preserved as the page numbers will be different once the documents are merged (except for the first document in the merge).

    If the bookmarks used named destinations then yes, they will be preserved (assuming you don't have the same named destination in more than 1 file being merged).
    PDL@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139