Acrobat 7.0 Collapse All bookmarks

Is there any way to collapse all nested bookmarks not only the Top-level. I have PDF files that can be drilled down to the exact page using the bookmark tabs. The trouble I am having is that once my Framemaker document is converted to PDF all of its book marks are automatically expanded. I know you can choose Option>Collapse Top-Level Bookmark, this in nice however it doest not collapse the bookmarks that are nested under those top-level marks.
Thanks

Here's the basic script. If you need help using it with a custom menu item or toolbar button, post again. Note that the function can be used to open all bookmarks as well, dependening on the bOpen parameter. You can run this from the JavaScript console (Ctrl + J) buy cutting & pasting the code, select all of it with the mouse, and hitting Ctrl + Enter, assuming you have the document you want to affect open.
function setParentBookmarks(bm, bOpen) {
    var i;
    // If the current bookmark has any children...
    if (bm.children !== null) {
        // Open/Close the current bookmark
        bm.open = bOpen;
        // Continue with all children of this bookmark                     
        for (i = 0; i < bm.children.length; i += 1) {
            setParentBookmarks(bm.children[i], bOpen);
// Close all parent bookmarks
setParentBookmarks(bookmarkRoot, false);
George

Similar Messages

  • How to collapse all bookmarks by default when rendering mode is set to PDF?

    I have a SSRS 2012 report that I open via URL in PDF rendering mode.  The report contains document map that renders as bookmark when opened as PDF.  Everything works as intended but when I open the bookmarks tab in Acrobat, all of the bookmarks
    are expanded by default.  I know I can "collapse top-level bookmarks" but none of the lower lever bookmarks collapse.  What I am wondering is, is there a way to collapse all bookmarks by default, as opposed to what seems like everything
    is expanded by default, when I open the report in PDF rendering mode?

    Hi Forum,
    Per my understanding that you have some problem about the document map rendering as the bookmark in PDF, you got all the bookmark expanded, right?
    This is by default, and I have tested on my local environment that you can use the simple
    Shortcuts to collapse all the bookmark of all the level at once when open the PDF: Shiift+"/"
    I recommend you that submit this suggestion at
    https://connect.microsoft.com/SQLServer/
    If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service
    provided.
    You can also submit an thread to the Adobe forum and there will be more experts to help you with this problem:
    https://forums.adobe.com/welcome
    Thanks for your understanding.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • 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.

  • Acrobat 9 bug? - Print Pages function does not print all bookmarked pages

    We use the Bookmark Print Pages function to allow for easy printing of sections of large PDFs. All of the pages that should be printed are bookmarked. The bookmarked pages print correctly in Adobe 8, but not in Adobe 9.
    I have put together a javascript workaround, but would prefer a solution that does not require distributing a file to all users.
    I would appreciate any suggestions on other possible workarounds.
    Here is the bug report I submitted to Adobe:
    Concise problem statement: The "Print Pages" function for bookmarks does not print all bookmarked pages in Adobe Reader 9.0 and 9.1. The same bookmarks print properly in Adobe Reader, Standard, and Pro 8.
    Steps to reproduce bug:
    1. Open the Adobe Acrobat SDK JavaScript for Acrobat API Reference PDF (Version 8.1, April 2007) in Adobe Reader 9.0 or 9.1.
    2. View the bookmarks. Right-click on New Features and Changes and choose "Print Pages."
    3. Open the same PDF in Adobe Reader, Standard, or Pro 8. (I used Adobe Professional 8.1.3.)
    4. View the bookmarks. Right-click on New Features and Changes and choose "Print Pages."
    Results and Expected results: Printing from v8 results in 12 pages. Printing from v9 results in 9 pages. Pages 741, 754, and 769 did not print from v9.

    I'm having the same issues.  Using the latest version 9.3.3.  Is this a bug? I tired calling adobe but their CR sounds like 3rd country only.  Anyone can shed a light on this issue?

  • Acrobat 9 will not import bookmarks from Word 2000

    I have a customer who creates sophisticated Word 2000 documents including bookmarks. When converting to Acrobat using 8 professional, the bookmarks convert fine. They are there and point to the correct locations. She insisted that she needed 9 Professional because it handles creating text and check boxes much more efficiently, but 9 will not bring over the bookmarks from the very same document. Our current solution is to have 8 and 9 on the pc simultaneously, create the document in 8, then open it again in 9 to modify all the input fields.
    This happens for all users, local admin or not. I have uninstalled, cleaned out the registry, installed, upgraded, used different profiles, etc. and the result is always the same.
    What could possibly be causing this? I have checked all the bookmark settings from within Word, and they are all correct. I've searched everywhere, and apparently no one else on Earth is experiencing this issue.

    Acrobat 9 does not work with MS Office 2000, Acrobat PDF-capable web browsers and PDFMaker-compatible applications (Acrobat 6.x - 9.x on Windows and Mac OS) .

  • How do you set the zoom level to Inherit Zoom for all bookmarks in a pdf?

    How do you set the zoom level to Inherit Zoom for all bookmarks in a pdf?

    beatngu13
    I made an account just to "like" your comment and say that you are a god among men.
    I've been searching for hours about how to make the zoom level persistent throughout following links in various PDF's I have, and most sources were saying to just buy acrobat pro and edit the bookmarks manually with it.
    I saw that it was possible to write an application to change the property, and considered doing it after the only pre-existing custom application I could find was asking for $50.
    Thanks to you, I no longer have to worry about re-zooming every time I click a bookmark, and I'm not out $50 or the time it would take to code an app myself!
    From the bottom of my heart, thank you!

  • Acrobat standard 6 user defined bookmark from word 2003

    Hi..
    I've been trying to convert word 2003 documents to pdf using acrobat standard 6. All seems fine except the user defined bookmarks in the word document.
    The bookmarks work fine from the bookmark pane but when accessing them through the hyperlinks within the document the destinations are wrong. The pointer will jump to the page it is in or maybe 1-2 two pages adjusent to the page the bookmark actually is in.
    Can someone help me with fixing this problem?
    Cheers!

    Steven,
    If it happened after an uninstall as you indicated, you may have to go to the add/remove in the control panel and do a repair on Acrobat. If the printer works, then you need to check that PDF Maker also works (it uses the printer). Asking about the printer was the first check and it passed.
    I am not good at the PDF Maker options, but looks like that is the problems.
    For MrEclipseguy, you need to be looking at the same options. Check things out in WORD first and then play with the other part. In WORD, there are issues with enabling the toolbar that is highlighted in other topics. I do not remember the solution.

  • How do I replace bookmark bar that was lost when a new Mozilla Fox Start page suddenly appeared with a Zone Alarm Community Toolbar, and nothing I have so far tried, working with "Show all Bookmarks", works ("Unable to process the backup file).

    My current version is 6.0.2. A box appeared a few days ago informing me of an update to 7 (x?). I declined for the time being.
    Then a Start Page just showed up missing the bookmark tool bar. I tried to import a bar from another browser. Nothing showed up. Then, I went to "Help". First, I clicked on "About Firefox" where I was informed of an update. This time, I tried it. When I clicked on "Apply Update", I received a message; 'Update could not be installed" despite there being no other Firefox browsers running.
    I went back to "Help" and clicked on "Firefox Help". A page came up with the URL in place, but the page would not load ("Cannot find server at support.mozilla.com"). After several clicks on "Try Again" with the same result, I copied the URL and pasted it into a different browser, from which I am now working.
    Before sending this question, I tried the two procedures ("Manual Backup" and "Restoring From Backup") found on Bookmarks/Show All Bookmarks/Import And Backup/Restore, using both "stored backups" from Mozilla's Profile folder and "Choose a file", as well as Bookmarks/Show ... /Backup. In each case, the response was, "Unable to process the backup file".
    I had previously tried another method I found on Google which involved copying and saving a Mozilla backup file (this is the file I used in the procedure above - "Choose a File") found in the C:/Documents And Settings/.../Profile Folder, then renaming the original file "backup.HTML" and saving it in a folder one level up from its original location. The Bookmark bar was to show up after shutting down and reopening Mozilla - it never happened. I replaced the original backup file.
    It occurred to me to locate the Bookmark File for this browser (Chrome) and using it in the "Choose a File" method, referred to above. But there is no extension included in the file name, and I was afraid to try it.
    I'm out of ideas. Is there something else to try?

    Check that the Bookmarks Toolbar is visible and that the "Bookmarks Toolbar items" is still placed on the Bookmarks Toolbar.
    If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" or other items that are missing in the toolbar palette or on a toolbar then click the "Restore Default Set" button
    See also:
    *http://kb.mozillazine.org/Uninstalling_add-ons
    *http://kb.mozillazine.org/Uninstalling_toolbars

  • Double click Bookmarks button to open the Library window directly ("Show All Bookmarks" function)

    I have a number of folders in bookmarks, and I edit it frequently by clicking "Show All Bookmarks" and opening a Library.
    Previously, after clicking Bookmarks button, "Show All Bookmarks" appeared on top of the list, and now it's at the bottom.
    Please, add double click function on Bookmarks button so that it opens Library window directly.

    See also:
    *[[/questions/997080]] Is it possible to move "show all bookmarks" in the bookmark-menu to the top?

  • How to collapse all folders in list view

    If you search on this topic, there are many discussions about it without a real solution.  The challenge is the following: you have a list view of many folders, some of which are expanded, and some are not ( to expand/collapse a folder you click on the little triangle by the name of the folder ).  Lilke many users on the apple discussions I wanted to collapse all of them with one action instead of clicking on each folder individually.
    I found a solution on superuser.com:  first, in the list view, select all with command-A, and then press Command-(left arrow).  To expand all, do Command-A followed by Command-(right arrow).
    I hope that helps, and my apologies if this solution has been given before, but I didn't find it with my 5 minute search. 

    Thank you very much! Exactly the solution I was searching for. Aloha!

  • I need to delete a bookmark to a site that no longer exists. Since it won't load, I don't get the star. Since it's not in a folder, it won't show on the Show All Bookmarks page. grrrr.

    When I pull up the Show All Bookmarks window, I only see bookmarks already placed in folders, not the uncategorized ones.
    The star option only works when the bookmark can actually be loaded.
    How do I delete a bookmark that is now a broken link but not placed into a folder?

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_places-database-file
    You should see the star even if the bookmark doesn't load. You can try offline mode (File > Work Offline).

  • How do I change back to having "bookmark this page" on the top of the list and subordinate "all bookmarks" lower since I use former 100 times more than the later on a daily basis?

    I create about 25 -50 new bookmarks daily for my business. So, it would seem user friendly to put that command at the top of the scroll down list. Maybe I am unique and others want to "show all bookmarks" repeatedly. I can't understand why one would need to do that more often than add multiple bookmarks on a daily basis. i look forward to your response,. Respectfully MC

    cor-el, as you said, that solution puts the "show all bookmarks" all the way at the bottom. How do you either make "bookmark this page" first without changing the order of the other options or force "show all bookmarks" to be second instead of last, the way the menu was before?

  • Firefox will no longer open. all proceedures have been tried. there's an error in generating a crash report. If I reinstall firefox from scratch, will I loose all bookmarks?

    I had power hits that cycled my computer a few times. I had to do a recovery from a week ago. Firefox will no longer start. A crash report pop-up shows an error and cannot send a report. I'm assuming the program will have to be reinstalled. Will I loose all previous bookmarks. Doing a windows search for bookmarks only shows about 1/3 of saved bookmarks. Are they gone too.

    I gambled, and all bookmarks returned.

  • Awesome Bar no longer searches all bookmarks after update to FF 34

    I just upgraded to FF34 and having a horrible time getting everything functioning right again. My current problem is that when I type a name in the Awesome Bar, it will not look at ALL my bookmarks. It does show some, but not all. For example if I type Dev, it properly shows my bookmark for Dev Guru. If I type fire, it shows nothing even though I have 4-5 bookmarks related to firefox. If I type the letter "s" I can see 5 related bookmarks but not the proper one. I have location bar in the settings set to History and Bookmarks. I have not found any solutions on the web and am at a loss as to what to try next. I have even deleted the bookmark and added it back. Does not seem to help.

    I ended up finding my own solution. For anyone who is interested here is what I had to do to fix this problem:
    Steps to solve the problem of the Awesomebar (Location Bar) not finding some bookmarks:
    Press Cntrl+Shift+B to show all bookmarks
    Click on Import and Backup
    Click on Backup
    Save the file
    Close Firefox
    Navigate to the Mozilla Profile Director (On a Windows 7 Box it is most likely in C:\Users\YourUserName\AppData\Roaming\Mozilla\Firefox\YouFireFoxProfileName)
    Make a copy of the bookmarkbackups folder, places.sqlite, places.sqlite-shm, and places.sqlite-wal
    Delete all the files in the bookmarkbackups folder
    Delete places.sqlite, places.sqlite-shm, and places.sqlite-wal
    Open Firefox
    Press Cntrl+Shift+B to show all bookmarks
    Click on Import and Backup
    Click on Restore >> Choose File
    Select the file from earlier

  • Adding a link to expand and collapse all DHTML drop downs

    Hi, can anyone help me adapt the "Skinny on Skins" example "Add a Toolbar button to expand and collapse all DHTML drop downs" so that it will work with just a simple HTML link in RH8, instead of being attached to a custom skin button?
    The example looks like this:
    Step 1. Open the Skins Editor for the skin where you want to add the button.
    Step 2. After the preview loads into the window, ensure that the Toolbar tab has focus, then click the plus symbol. The Custom Toolbar Item dialog should display.
    Step 3. Type the Item Name (This is simply an internal reference for the button).
    Step 4. Type the Text (This is the text that will be seen by the end user. The field must contain something. So if you don't want any verbiage to display for your toolbar item, simply type a space.)
    Step 5. Choose your Image Options, then click the Action tab.
    Step 6. Click the JavaScript option button.
    Step 7. Enter the following code in the OnClick field:
    javascript:toggle()
    Step 8. In the JavaScript area, ensure the Inline JavaScript option button is selected, then click the edit (Pencil) icon located to the right.
    Step 9. Enter the following code in the Inline JavaScript dialog
    var show = "false";
    function toggle() {
    parent.frames[1].bsscright.focus();
    var arrayofDivs = parent.frames[1].bsscright.document.all.tags('DIV');
    if (show == "false") {
    for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "block";}
    show = "true";}
    else {
    for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "none"; }
    show = "false"; }
    Step 10. Click the OK button to close the Inline JavaScript dialog.
    Step 11. Click the OK button to close the Custom Toolbar Item dialog.
    Step 12. Click the OK button to close the Skin Editor.
    Step 13. Generate WebHelp via File > Generate > WebHelp and ensure that you have the new button selected with a check mark. This will probably require stepping through some screens to see the place where you can select it.
    Many thanks
    Jonathan

    Hi again
    I want to use it in the header of one of my Master Pages, so it will only be created/maintained once. Not all my pages have drop downs in so rather than have a toolbar button available for every page, I was trying to be a bit cuter by having two Master Pages - one for normal pages and one for pages with drop downs in.
    I'm no javascript expert so I'll see if one of my developers can help.
    Thanks anyway
    Jonathan

Maybe you are looking for

  • Need help in doing FDM "Maps" (Not able to do a like mapping)

    Hi sub : Unable to do a like mapping in FDM I am new to FDM,here is what i am trying to do. I have a ODBC source table and the table struct is somthing like this. Accountcode1,Accountcode2,,,,YTD I have a Custom Import Script where i have done the co

  • PSE 9 Slide Show error message

    I get message "The selected file cannot be played because your system does not have the required compressor/decompressor installed Codec) when I try to add a song from Itunes library to a slideshow. What doies this mean? How do I fix it? I tried in o

  • I dont know how to update a already defined UDT?

    I have a User defined field attached to a menu named customer equipment card, i need to change the objects and add a few more to it how can i do it, help me out with this problem

  • IPod insists I am in a different location

    I live in Pennsylvania, but my iPod keeps insisting that I am in Illinois. Which is a big problem because of the time difference, so if I have an alarm set to go off at 6am- it doesn't go off until 7am because it thinks that I am an hour eaflier than

  • LDAP- large dynamic groups - performance

    A dynamic group is to a static group what a view is to a table A group is to its members what a table or view is to its records. When the memebrs of a dynamic group is very large are there any performance problems or is that eliminatable by some inde