Expand/Collapse all the Bookmarks in a PDF file

Hi,
This is my first message on the board :-)
I work with very large PDF files (i.e 2000 pages, 700 bookmarks on 5 or 6 levels!) and I'm looking for a script (Acrobat 9 Pro) allowing to expand/collapse all the bookmarks in a PDF file.
Thanks in advance for your valuable help,
Cheers
Antonella

The Acrobat Javascript Scripting reference (http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJS.pdf) describes how to use scripting to access bookmarks and how to open and close them, which is what you're looking for.
I suggest you read the reference and make a function that will do the job for you.
That's the way I would do it.
I don't think you can access the keyboard shortcuts "/" and "Shift + *" via scripting.
Torben.

Similar Messages

  • I like to edit single letter in the pdf file having more then 1000 page, Example "T" in place of "V" in all the 1000 pages in pdf file. Please let me know

    I like to edit single letter in the pdf file having more then 1000 page, Example "T" in place of "V" in all the 1000 pages in pdf file. Please let me know !

    In a PDF you can´t change single letter.
    You can only try to convert the PDF document into a Word document.
    Now you can search and replace a letter.

  • DHTML Tree Expand-Collapse ALL buttons

    Hi
    I am using at DHTML Tree (in APEX 3.0.1) as a menu. I am wondering if it is possible to add buttons (or link) to the region which a user can click to expand all or collapse all nodes in the tree.
    I don not want the tree to be expanded or collapsed all the time (as when using the Tree List template)
    Thanks

    Anyone?

  • Expand/Collapse All Version Sets

    PSE 10, Is there a simple way to open all the Version Sets with one set of keystrokes, and having them stay open. I have a lot of version sets built up over time, and I would prefer not having to open each one individually. When I tried doing that on a small batch, as soon as I  changed to a different batch of pics, all of the Sets I had opened, promptly closed. The View > Expand/Collapse All Stacks does not work on the Version Sets.

    Hi Surya
    Create a new HTML region at the top of your page, using No Template and use this as the Source:
    <script type="text/javascript">
    function showHideAll(displaystyle)
    var hideIMG = "/i/htmldb/builder/rollup_plus_dgray.gif";
    var showIMG = "/i/htmldb/builder/rollup_minus_dgray.gif";
    var k;
    var r = document.getElementsByTagName("DIV");
    if (r)
       for (k = 0; k < r.length; k++)
         if (r[k].className == 't12Hide')
           r[k].style.display = displaystyle;
    var i = document.getElementsByTagName("IMG");
    if ( i )
      for (k = 0; k < i.length; k++)
        if (i[k].id.substr(0, 5) == 'shIMG')
          i[k].src = (displaystyle == 'block') ? showIMG : hideIMG;
    </script>
    <a href="javascript:showHideAll('block');">Show All</a>
    <a href="javascript:showHideAll('none');">Hide All</a>The image names and className (t12Hide) are based on my test page - change these as appropriate for your own page (you may need to do a View Source on the page to check these values).
    Andy

  • Decision Report: Toggling Expand / Collapse All (v10.2)

    Hi everyone,
    We're wondering if anyone can share an approach for enabling users to "expand/collapse all" (all nodes) in a decision report dynamically - i.e. using a button or toggle, rather than a global configuration or preference setting. For example, we would like to initially display a collapsed report (to show the high-level conclusions), and then enable the client to fully expand the report for printing.
    Importantly, we would like to be able to do this in version *10.2*.
    Thanks,
    - Patrick

    Granting my JavaScript is a bit rusty, I'm wondering if anyone else has encountered the following challenge when changing the global configuration settings for decision report (expanded/collapsed):
    Issue: The plus signs ( + ) at the nodes appear as minus signs ( - ), and vice versa. In other words, after our modifications, the user needs to click on a minus sign to expand a node.
    Our approach was simply to do a CTRL-F and replace "expanded" with "collapsed", so it's not surprising that there were unintended side effects.

  • Expand/collapse all regions

    I have 5 show/hide regions on a page. is it possible to Expand/collapse all regions by clicking a "Show/Hide All" link or a button. any ideas are appreciated.
    thanks,
    Surya

    Hi Surya
    Create a new HTML region at the top of your page, using No Template and use this as the Source:
    <script type="text/javascript">
    function showHideAll(displaystyle)
    var hideIMG = "/i/htmldb/builder/rollup_plus_dgray.gif";
    var showIMG = "/i/htmldb/builder/rollup_minus_dgray.gif";
    var k;
    var r = document.getElementsByTagName("DIV");
    if (r)
       for (k = 0; k < r.length; k++)
         if (r[k].className == 't12Hide')
           r[k].style.display = displaystyle;
    var i = document.getElementsByTagName("IMG");
    if ( i )
      for (k = 0; k < i.length; k++)
        if (i[k].id.substr(0, 5) == 'shIMG')
          i[k].src = (displaystyle == 'block') ? showIMG : hideIMG;
    </script>
    <a href="javascript:showHideAll('block');">Show All</a>
    <a href="javascript:showHideAll('none');">Hide All</a>The image names and className (t12Hide) are based on my test page - change these as appropriate for your own page (you may need to do a View Source on the page to check these values).
    Andy

  • I have already got Firefox Home sync'd on my iphone from my old PC, but my old PC has been whiped. Now I want to set up my sync account on my new pc and retain all the bookmarks from my account. How do I do this?

    Right, first I had a PC then sync'd my bookmarks to my iphone...Now my PC has died. I have a new PC and wish to sync my bookmarks back to my new PC.. But I cant seem to do this because the sync process on my new pc asks me to 'add a new device' which I dont want to do... So I click 'I dont have the device with me' and even then I can't get a sync key because there is no way to find it on the iphone app. I have looked back through my emails to see if I was ever sent one by email, but I can't find it.
    SO basicly it looks like I am going to loose all my bookmarks that I want to transfer onto my new pc. Unless I manualy add in the bookmarks from my phone onto the new PC on firefox and create a new sync account?

    I'm having a similar problem, but I do have the key and is not working anyway.
    My old pc was running on windows 7 and my new one is an apple running on Lion.
    My phone is an Iphone IV and I can see all the bookmarks there.
    In order to sync, what I did was click on the "I don't have the device with me", I entered the key that was provided and the process finish ok. It says congratulations, etc, etc.
    But the bookmarks are not there, I tried merging data and replacing data on this computer options but is the same.
    Any suggestions?

  • So all the bookmarks I've "bookmarked" for the past year are just gone - I have a mac, how do I go back & retrieve everything I've ever bookmarked on Firefox?

    So all the bookmarks I've "bookmarked" for the past year are just gone - I don't understand why Firefox just doesn't automatically save every bookmark you make each session & put them in a place so you can organize them ... maybe there's some extra step you can take every session to force firefox to do this - I don't know what that is - but am also a bit aggravated that there has to be an extra step to do this - Internet Explorer just auto saves everything you bookmark, why can't Firefox - I see this as a big disadvantage to Firefox that needs to be made much simpler ... I have a mac, how do I go back & retrieve everything I've ever bookmarked on Firefox?
    I think all the details are sufficiently covered in the question (which then in filling out the help form Firefox quite sillily made me shorten so I reposted the whole thing in this comment above - just another unnecessary step, seems to be the Firefox norm)
    And btw the articles on lost bookmarks, saving bookmarks, etc. - were not helpful at all. Very not helpful. Almost anti-helpful.
    I generally like Firefox & use it all the time, but this one area as to bookmarks is very frustrating & causing me to seriously consider not using Firefox at all & switching back to Internet Explorer or another browser like Google Chrome. What's the point of bookmarking something (which by itself indicates you are wanting to save the site link so you can re-find & re-visit it in the future) if Firefox just auto deletes all your bookmarking everytime it starts up? Just a completely user-unfriendly idea.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    S*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *http://kb.mozillazine.org/Lost_bookmarks

  • How to setup a function is cannot print out if didn't fill up all the required field on PDF form?

    how to setup a function is cannot print out if didn't fill up all the required field on PDF form?

    No way with just the free Reader. It may be done with Adobe Acrobat.

  • I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back-up app.

    I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back up app.
    Have used Superduper app. to back up and checked back-up occasionally to see if all files present  and appeared OK.
    I had previously started machine using original CD #1 to try and replace Eudora which was acting up. Did not knowingly touch Safari.
    Running iMAC System 10.4.11
    How can I successfully download from the Maxtor back-up?
    Ivan

    Further info.
    I checked the content of my other back-up and found the bookmark Bookmarks.plist in the library under Safari
    Dumped the existing copy in the computer and drag-dropped the back up. All bookmarks restored.
    Solved the Stickies problem by using Spotlight  to find file "stickiesdatabase" and did a drag- drop to replace file. All data restored.
    Re Ical data loss. Used Spotlight to find iCal document in  Library - Preferences where I found com.apple.iCal.plist in folder.
    Got ready to make change but did not immediately remove file. When I returned to Preferences folder to grab above document,
    the readable descriptors had been changed to code consisting of some upper case letters and/or single symbols!
    So now I cannot tell which is the symbol  iCal.plist
    Thanks for leading me so far, but how do I find that plist for my calendar?

  • My moms computer died we are putting the old drive into the new computer as a slave drive. how do I transfer all the bookmarks, user names and passwords from the old drive to the new drive?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/889318]]</blockquote>
    Hello,
    Sorry if this posted twice I am NEW. I thought I could just go back to what I typed and add to it. Mom had a computer it died they are putting in the old drive on the new computer as a slave. What are the steps I need to do to transfer ALL the bookmarks, user names and passwords onto the new computer. We will have 3 desktops do we have to do the same steps on each desktop? I do not want to re enter all the user names and passwords on the new hard drive. Old computer was Windows XP the new computer is Windows 7 Kathryn Schwartz

    Duplicate - https://support.mozilla.com/en-US/questions/889318

  • I did download the new version of adobe but a massage showed all the time (Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser)

    i did download the new version of adobe but a massage showed all the time (Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser)

    You downloaded Adobe... what? Adobe has tons of applications.
    Which Adobe product did you download?
    Clinton

  • Remove all the hidden objects in PDF using acrobat SDK

    Hi Friends
                   How to remove all the hidden objects in PDF using acrobat sdk 11

    Sorry if I re open this old thread, but I am interested in the 'Remove Hidden Information' command.
    Which is the AVCommand to run this feature?
    Thanks

  • Whenever my new iMac updates or is shutdown, I lose all the Bookmarks that I've created in Safari are gone.  Anyone know how to prevent this?

    Several times now I have created a Bookmark list in Safari but everytime the iMac updates the software, or I shut the computer down, I lose all the Bookmarks.  Only the pre-installed Bookmarks remain.  Does anyone know how to keep this from happening?

    Try resetting PRAM.
    Reset PRAM.  http://support.apple.com/kb/PH4405
    Best.

  • How come the latest version of firefox (4.0) lost the feature of saving the bookmarks whenever I exit the browser? Now the only option is actually closing all the bookmarks and manually opening them again.

    With previous versions of Firefox, I was always asked this question whenever I exit the web browser and turning my laptop off: Do you want to save your bookmarks?... At least that was the message of the question. Right now, my only option is actually closing all the bookmarks and manually opening each one of them or starting from a saved bookmark list.
    Thanks!

    One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''

Maybe you are looking for