3 Replies Latest reply on Feb 22, 2008 12:47 PM by (qpan)

    Add link to PDF file

      Suppose a PDF file has some URL string like http://abc.com and also has some email address string, such as xyz@abc.com and also has a table of contrnts. Is there any programming way

      1. Extract those URL or Email String
      2. Add link (action) to those URL or Email string so when user click URL, it will bring browser to that URL, when user click email address, it will bring up some email software, such as Outlook to get a email dialog window.
      3. Add some link to the table of content so when user click a chapter line in the table of contents, then PDF jump to the page of the start of that chapter.

      Thanks,
      P
        • 1. Re: Add link to PDF file
          Level 1
          Hi qpan

          Yes, there is. Using LC Assembler (invoke DDX service) you can extract, import and replace links within a pdf document. There is a detailed tutorial called "Developing Applications for LiveCycle Assembler" (page 69-71).

          Here are some DDX samples:

          Exporting links from multiple sources:
          <Links result="links1.xfdf">
          <PDF source="doc1.pdf" />
          <PDF source="doc2.pdf" />
          </Links>

          Replacing links:
          <PDF result="doc3.pdf">
          <PDF source="doc2.pdf">
          <Links source="links1.xfdf" />
          </PDF>
          </PDF>

          reagrds,
          Nico
          • 2. Re: Add link to PDF file
            Level 1
            But what about if the PDF do not have link existing before, I mean it has URL string, but it does not link assoicated with it. For this case how to assoicate link to it? I think LiveCycle need to seach and find URL string, then it can create link? Can LiveCycle do this thing?

            Thanks.
            • 3. Re: Add link to PDF file
              Level 1
              Nico,

              The tutorial you mentioned, detailed tutorial called "Developing Applications for LiveCycle Assembler" (page 69-71).

              do you have the link?

              Thanks,
              P