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

Footer for "Last Page" appears on "First Page"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Incomplete
    • 0.95
    • None
    • layout/unqualified
    • None
    • Operating System: All
      Platform: PC
    • 53839

    Description

      Hello,

      I got a problem creating PDFs from XML using hthe FOP-Library.
      I got an retrieve marker, which prints "Zwischensumme: ", in a simple-page-master layout.
      I included an example of the output PDF, the source xml and my xsl-stylesheet-files - in stylesheet.zip.
      In "Rechnung.xsl" the simple-page-master is declared and in "footer.xsl" near the String "TEST" I entered, this footer is called.
      The problem with calling this footer is, that it should only be called on pages "first" and "rest". In this case it is called on "last" (single page).

      The strange thing is, when i delete in my xml a position (make it shorter) the marker is not inserted.

      Many thanks in advance for helping me solve this problem.

      Regards
      Carsten

      Attachments

        1. foout.fo
          34 kB
          c.buehler
        2. stylesheet.zip
          27 kB
          c.buehler
        3. stylesheet.zip
          45 kB
          c.buehler

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            c.buehler@xdot.de c.buehler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: