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

[PATCH] Fix pdf internal named destinations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: renderer/pdf
    • Labels:
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      46980

      Description

      [PATCH]
      I was experiencing an issue where svg graphics would enterpret links of the format:
      <a xlink:href="#named_destination">

      as external web-links opening up a web browser.

      I have now fixed this issue (given in the attached patch) so that links in the above format now properly go to an internal named destinations.

      The named destination must be specified with the tag:
      <fox:destination internal-destination="named_destination" />

      I hope this is helpfull.
      -Michael

        Attachments

        1. internal_named_destinations.diff
          2 kB
          michaelrichardson89
        2. fop-1648.patch
          6 kB
          Matthias Reischenbacher
        3. b46980.diff
          8 kB
          Andreas L. Delmelle

          Activity

            People

            • Assignee:
              cbowditch Chris Bowditch
              Reporter:
              michaelrichardson89@gmail.com michaelrichardson89
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: