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

[PATCH] Links to 'last' page aren't working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • layout/page
    • None
    • Patch

    Description

      If there is a separate page master for the 'last' page and the layout is redone (see PageBreaker.redoLayout) links to content inside the last page don't work.

      My test case fo file contains a bookmark to a block on the last page. The following warning is displayed when generating PDF output:
      WARNING: 1 link target could not be fully resolved and now point to the top of the page or is dysfunctional.

      My Patch tries to fix the ID handling and replaces the old PageViewport instances inside the IDTracker with the one. Please let me know if there is a better way to fix this issue.

      Attachments

        1. fop-2465-link-to-last-page.xml
          2 kB
          Matthias Reischenbacher
        2. fop-2465-link-to-last-page.patch
          3 kB
          Matthias Reischenbacher

        Activity

          People

            Unassigned Unassigned
            matthias8283 Matthias Reischenbacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: