Nadine Ausländer created FOP-2839:
-------------------------------------

             Summary: FOP Extensions: Named destination link not working
                 Key: FOP-2839
                 URL: https://issues.apache.org/jira/browse/FOP-2839
             Project: FOP
          Issue Type: Bug
          Components: unqualified
    Affects Versions: 2.2
         Environment: Windows 10
            Reporter: Nadine Ausländer
         Attachments: sourceDoc.fo, targetDoc.fo

h3. 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.
h3. Observed behavior

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

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

Test documents also attached.

Doc A: sourceDoc.fo:
{code:java}
<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>
{code}
Doc B: targetDoc.fo
{code:java}
<fo:block id="target"><fox:destination internal-destination="target"/>Target 
Anchor</fo:block>
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to