Book marks in PDF

Hi,
I would like to convert a Word document into a PDF file.  But only chapter headings not their chapter numbers form this WORD document schould be converted in book marks in the PDF file.
I use WORD 2002 and Adobe Acrobat 8.
For example:
chapter heading in WORD "1.1 First steps"
book mark in PDF  "1.1 First steps"
I'd like "First steps"   in PDF
Any idea how this can work?
Thanks in advance
maxxikk

It looks like you are filling a buffer here
PDBookmarkGetTitle(bmObj, bmName, bufSize);
and overflowing that buffer here
strcat(bmName ,",");
strcat(bmName, tesmpPagenum);
If that is the case, you will have problems which could appear at anytime after code execution.
Also, in the code below, the connection between  bufSize and the alphanumeric string size of bmPageNum is not obvious.
              tempPagenum = (char*)ASmalloc((os_size_t)bufSize);
              itoa(bmPageNum, tempPagenum, 10);

Similar Messages

  • Is there any way to determine if a link is a book mark or hyperlink in java script

    Is there any way to determine if a link is a book mark or hyperlink in java script
    Sub Problem:
    I am making an array of quads of all the hyperlinks in a document. I would like to automatically skip over all the bookmarks in the starting pages of a document and just get the links of the hyperlinks.
    Now I have to manually set the pages that contain bookmarks so they are not included in the array.
    Is there any way to determine if a link is a book mark or hyperlink in java script?
    It would help automate the conversion I need below
    John
    Main Problem:
    I have been working on converting a set of pdf files with 1000’s of hyperlinks like www.site.com\folder1\file1.pdf#page=10
    To jump to a local copy of the files with a relative type link
    ../folder1/file1.pdf and then go to the proper page.
    I have found that it can be done manually by changing the hyperlink to a javascript
    var otherDoc = app.openDoc('../folder1/file1.pdf', this);otherDoc.pageNum = 10 - 1;
    and setting each destination file with a disclose()=true;
    Based on the help so far that java script cannot access the hyperlink value in a link
    See: http://forums.adobe.com/thread/1039908?tstart=60
    I have resorted to the following plan using acrobat javascript, an external keyboard macro recorder and excel in combination to get around the problem
    Four folder level acrobat javascripts with “buttons”
    One to get all the link quads in an array, in the pdf and report the total number
    The second creates a form field in the far corner of the first page and moves there.
    The third jumps to each link found by creating a form field just to the left of the link and zooms in so it can be selected by a “mouse click” from the keyboard macro recorder 
    The forth deletes the form field
    The keyboard macro recorder runs javascript 2 and then 3 then clicks on the link just to the right of the middle of the screen and uses keys to get to the advanced editing to get to edit the hyperlink .
    The hyperlink is then copied to excel where it is converted using string functions to the needed javascript text to be copied back.
    To the acrobat file into a java script (after deleting the hyperlink)
    Rinse/lather/repeat
    I have been able to convert about 150 links an hour.
    Better then hand typing, but not like having java access to the links.
    I am looking to improve the solution

    thanks for your help.
    I may have been confusing a "acrobat bookmark" and a bookmark in a word file that is converted to a pdf and ends up being a
    link of the type:
    "Go to a page in this document"
    which I do not want in my array vs
    a link of the action type:
    "Open a web link"
    Which I do want
    John
    My code, note how I have to skip pages with "Go to a page in this document" links depending on the document, I would like to use the same code for each document and skip over the "Go to a page in this document" links :
    global.ilinkindex = 1; 
    global.aLinkquads = [ [0, 1, 1, 0, 0],
           [0, 0, 0, 0, 0] ];
    function GetLinkArray()
    global.ilinkindex = 1;
    var iTotalLinks=0;
    // for ( var p = 0; p < this.numPages - 8 ; p++)                   // end before bookmarks for each page of the file x.pdf
    //  for ( var p = 0; p < this.numPages; p++)                     // for each page of the file
    for ( var p = 23; p < this.numPages; p++)                     // start after bookmarks for each page of the file y.pdf
      var cropbox = this.getPageBox("Crop", p);
      var alinksonpage = this.getLinks(p, cropbox);            // get array of links on page
      for ( var ll = 0; ll < alinksonpage.length; ll++)
       var linkquads = alinksonpage[ll].rect;     // get link Quads
       linkquads[4] = p;          // add page number to link Quads array
        global.aLinkquads[global.ilinkindex] = linkquads; // add quads to global link Quads array
        global.ilinkindex++;
    iTotalLinks = global.aLinkquads.length - 1;
    global.ilinkindex = 1;
    app.alert("Number of Links in Document is " + iTotalLinks );

  • HELP! CS2 hyperlink index to book pages for PDF

    Hi there, would really appreciate any help with this.
    We need to make an interactive PDF with a fully searchable index using InDesign CS2 (windows platform on PC).
    Currently we place text into CS2 InD doc templates, format it, then add all docs into InD Book. A PDF is made from the book and the author indexes from this PDF. He supplies a Word document with Index topics etc and page numbers. This is placed into InDesign, formatted, then loaded into the Book.
    To make the text as interactive as we require in the final PDF, we use InD TOC to adds bookmarks as we need, we also manually add hyperlinks in InD to jump back to the contents page from any given page.
    However we need the Index in the PDF to be fully interactive - ie when you click on a page number in the Index, it will take you to that page. For various reasons we do not want to use InD indexing (which would i gather add hyperlinks) or Indexing facility in Word which also adds hyperlinks by carrying fields over from Word.
    Is there a InD script that could just pick up all page numbers in the Index and connect them to the actual page where the word appears? Without any need for text tagging, or marking or using Index palette?
    I'm sorry but we have no experience of writing scripts (though have used the Endnote script to enable Endnotes to be used in InDesign).
    Any ideas would be very very welcome.
    Thanks for your time!
    Emma

    I think the export feature in InDesign is a feature of that product and not Acrobat. Thus you will need to ask in that forum. There are folks here that may know because they also have InDesign. The long link names and potential problems suggests that you have an option in the export incorrectly selected and you are actually not using links. Acrobat will try to interpret things it sees as links as such (like WORD and other products) but may not get them right if they are strange links. In such a case you have 2 options: 1. Be sure you have the proper feature selected for exporting the links (so they are included) or 2. Fix the links so they satisfy proper URL formatting. For instance, spaces are not standard in links, even if MS products like to use them.

  • Book marking links

    Dear Friends,
    By using adobe professional i have created book marks and given links to open particular .pdf file, ther same book marks are exis in all the pdf file, My question is if i click on any of book mark link it will open the appropriate file, being in same file if i click on the same link book marks are dis-appearing in abobe reader??? Kindly give us the solution to solve the problem while navigating through adobe reader.

    Disable the option 'Hide After Use' in the navigation panel 'Bookmarks'.

  • Send book marked reports to an iView

    Hello All,
    In web application designer is there away to send book marked reports to an iView instead of to internet explorer? 
    Thanks,
    Nick.

    Here is a great resource for sending binaries.
    http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You'll want to use utl_http to run each report with a destype=file and then have another procedure running to check to see when all of your reports have finished. After they are finished, you would run the stored procedure to get all of the binaries, attach them in an email and then send it.
    If you want to concate all of the PDF files into one large file, you can do this with a Java stored procedure using iText.
    http://www.lowagie.com/iText/

  • Book mark icon in Adhoc query?

    Hi,
    There is an Adhoc query created by the end user.The book mark icon available is not working but the CONTEXT MENU on any of the values is producing the book mark properly.Can just any one help me to find the solution of this?
    Why BOOK MARK ICON is on

    Vasu,
    then there seems to be some issue with your ad-hoc template - was it modified in any way ? that could be causing this issue. If the temnplate was not modified then reactivate the same from business content and check.
    The ad-hoc template depends on your BI version. Which version of BI are you on ?
    Arun

  • OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF. then 2.  need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that

    OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF; then 2. I need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that??
    I had been saving as a PDF and then reducing the size of the PDF by printing it as a PDF with a degree of image compression. I write manuals with a LOT of screen captures and line art that needs to be clear. So it is a balancing act between image clarity and PDF size. The PDFs on the web need to be smaller - sure you can undertsand.
    Anyway, when I print the PDF again, I lose both my destinations and bookmarks.
    Anyone know of any way to avoid that?

    Control the images by creating a custom PDF Job Options and then selecting it in the PDF Job Options drop-down of the PDF setup dialog box (File > Save as PDF...)
    Create the custom PDF Job Options file with Distiller. If you do not have Distiller, open the Printing Preferences of the Adobe PDF printer. Start with the Smallest File Size Job Options settings and Edit.

  • I have safari in my iPad but bookmark is not working. I can not book mark any things.  How do I get back my bookmark working so that I can open the web page I have already booked marked.  Thank you for your answer

    I have iPad 2.
    The safari bookmark was working yesterday.  Today book mark is not working.  I can not book mark anything. 
    Did I do anything to prevent stopping bookmark to store?  Please help me how to get back working my bookmark.  Thank you.

    See if this works.
    Quit the Safari app completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How do I maintain bookmarks in multiple documents when exporting a book file to PDF?

    I am using a book file to organize 10 individual indesign documents. Each document has its own set of bookmarks and links, and their are links that go to other documents within the book as well. How do I (using CS3) print my book file to PDF while maintaining all the interactive components? I want my complete list of bookmarks to appear within the bookmark pane, and I want all of the interactive links in the document to work when they are clicked in the PDF. Doing this for one document is simple, set the preferences to enable the bookmarks and links. However, none of these PDF export settings seem to work when printing the entire book.
    Help!

    I had it open, just wasn't looking in the right spot. Found it... thanks a bundle. This has made my day... as long as the bookmarks work when I export.
    Thanks!

  • I can no longer organize my drop down book mark list ,from the toolbar in alphabetical order like I used to Why ?

    Used to, I could organize my drop down book mark list from the tool bar, in alphabetical order from A-Z by clicking on view, sort by, select . Now every time I add a new bookmark it goes to the bottom of my bookmark list in Unsorted bookmarks . I can go to the bookmarks and sort the menu in Alpha. order. However, when I go back and drop down the bookmark list from the tool bar, the new bookmarks are still in the Unsorted list at the bottom. The bookmark's menu may or not have them in assorted list. This occurred several updates back. Why can I no longer sort the drop down book marks list in A-Z alph. order? This is a major obstacle when trying to search for a particular bookmark that I have made in the not too distant past.

    That did solve my problem. Madperson Thank You Very Much!!!!! I'm not real literate on the mechanics of working computers even though I use them all the time. Basically I'm a point & click kinda guy and beyond that I'm pure novice! This is going to save me a lot of wasted time.
    Allen C. Geiser
    ageiser34

  • How do i move book marks from Winxp to Windows 7 Firefox V5.0 ?

    I'm trying to move my bookmarks from my old Windows XP system with Firefox 5.0 to my new Windows 7 system with Firefox 5.0. How do I move my book marks ? I have quite a few of them.
    Thanks,
    Joe

    You need to export the Camino bookmarks to an HTML file, and then import that file into Firefox.
    # In Camino, on the '''File '''menu select '''Export Bookmarks'''
    # In the '''Format''' dropdown menu select '''HTML''' then click on the '''Export''' button
    # Import the HTML file into Firefox using the procedure in the [[importing Bookmarks from an HTML File]] article

  • I was asked to up grade my Firefox, when I did this the system crashed and I have lost use of my book marks and fire fox, I have not been able to fix it.

    Two days ago I logged on to Firefox. I recieved a message that told me that I was using an out dated version. I had to up grade . I followed the instruction and when finished fire fox crashed. I am unable to delete firefox, reload it, or use it. I am forced to use Internet Explorer to use my computer. I have lost my book marked sites, and I am at a loss as how to retrieve what I have lost. I have tried to follow the instructions to fix the problem but I have not been able to fix the problem. I sent the crash information but recieved no responce.

    cathorio wrote:
    I recently changed my lap top. My problem is the new lap top won't accept my apple I D it asked me to sing up for a new one which I did.
    I am puzzled by this. The laptop doesn't need the Apple ID - but iTunes does. I could be missing something but ....
    Why would you not be able to use your existing Apple ID and iTunes account on a new laptop? If you authorized the computer - you should be able to use your existing account - unless you already had 5 computers authorized with the existing ID - and that was why iTunes would not accept the ID. However, I'm sure that you would have received a popup message from iTunes telling you that you had reached the limit.
    I just received a new MBP and my daughter did as well. My entire family shares an Apple ID and we had no issues at all with my Apple ID and iTunes on our new computers and I did not have to sign up for a new account. Did you even try the old ID?

  • I had a folder that was a part of firefox in the book marks are called Recently Bookmarked. It has now disappeared and i would like to know how to get it back?

    This folder was not one I created, but it appeared to be a part of the bookmark area. It save all recently saved book marks and was called "Recently Bookmarked". I used this feature last night and this morning when I went to use fire fox, it is gone.
    I tried restarting Firefox and it still has not fixed the problem. My question is, How do I get this feature back or how do I create a folder where everything I book mark goes into the folder until I can sort the book marks into the proper folders? thank you for your help

    See:
    *https://support.mozilla.org/kb/Restore+the+default+Smart+Bookmarks+Folders
    * "Recently Bookmarked" is a so called [[Smart Bookmarks folders|Smart Bookmark]] that shows the result of a place query in a list.
    * "Most Visited" and "Recently Bookmarked" and "Recent Tags" are examples of so called [[Smart Bookmarks folders|Smart Bookmarks folders]] and are not real existing folders.
    * Smart folders show a list created by a query of the places.sqlite database that stores bookmarks and history in Firefox.
    * Smart folder lists show a maximum of 10 entries by default.
    * Bookmarks and history items that show up in a smart folder list are stored elsewhere in another folder and any changes made are applied to the real bookmark or history item.

  • Since updating to FF 8 I can no longer use Multirow book marks, can anyone help with this issue?

    Since updating to FF 8 I can no longer use Multi-row book marks, can anyone help with this issue? the one I used is here http://multirowbookmarkstoolbar.com/

    Try the support site:
    *http://multirowbookmarkstoolbar.com/forum
    *Multirow Bookmarks Toolbar Plus: https://addons.mozilla.org/firefox/addon/multirow-bookmarks-toolbarplus/

  • I accidently unmarked the book marks tool bar, the tool bar and the menu bar how do i get them back ?becaus now only the tabs are visible and i cant access my features or book marks

    i was getting to know my firefox so i accidentally unmarked the menu bar the book marks tool bar and the tool bar. so now only my tabs are visible and i cant get to any of my add-ons or extensions.
    and even surfing the net has become difficult cause there is almost nothing i can do with a new empty tab.
    how can i get these bars back. i tried taking the cursor up to the thin line above the tabs and the window border but the menu to mark the above mentioned features does not appear any more.
    i tried restarting firefox several times but it didn't work. i even uninstalled and completely downloaded a new version of firefox and installed it but the problem still persists.
    i am operations system is windows XP.

    Firefox 3.6+ versions have a feature to allow the user to hide the Menu bar.
    Hit the '''Alt''' key to temporarily show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark. <br />
    The F10 can also be used on most PC's to temporarily reveal the Menu bar.
    https://support.mozilla.com/en-US/kb/Menu+bar+is+missing

Maybe you are looking for