Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2839

FOP Extensions: Named destination link not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2, 2.6
    • 2.8
    • unqualified
    • None
    • Windows 10

    Description

      Summary

      Given is a link from Doc A to a named destination in Doc B. Since FOP 2.2 a fox:destination in Doc B does not work anymore as the link target in PDF output using Adobe Acrobat Reader DC. Same issue observed in FOP 2.3.

      Observed behavior

      When following the link in Doc A, the first page of Doc B is displayed.

      Expected behavior

      When following the link in Doc A, Doc B is opened at the named destination.

      Test documents

      Test documents also attached.

      Doc A: sourceDoc.fo:

      <fo:basic-link
        show-destination="new" text-decoration="underline"
        color="#0099D4"
        external-destination="url(targetDoc.pdf#dest=target)">
        Link to external PDF with anchor
      </fo:basic-link>
      

      Doc B: targetDoc.fo

      <fo:block id="target"><fox:destination internal-destination="target"/>Target Anchor</fo:block>
      

       

      Attachments

        1. sourceDoc.fo
          0.9 kB
          Nadine Ausländer
        2. targetDoc.fo
          2 kB
          Nadine Ausländer

        Activity

          People

            ssteiner Simon Steiner
            nadine.auslaender Nadine Ausländer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: