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

[PATCH] Incorrect page creation with master-reference="singlePage" page-position="only"/>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.9
    • layout/page
    • None
    • Windows 10

    Description

      After upgrading FOP 1. 1 to FOP 2. 7, the “Single Page” is no longer created correctly if a 2nd page is to be created due to the data volume in “body” and a region-after extent=”11. 8cm.

      See appendix template. pdf: Here a 2nd page is created due to the data volume (body)!

      See Appendix Mustermann 2. 7. pdf: Due to the data volume (body) a 2nd page should be created here!

      Note: the bank details should only be printed once per document!

      Note: with the FOP version 2. 6 the PDF is created correctly!

      <fo:simple-page-master master-name="singlePage" page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="0mm" margin-left="3mm" margin-right="2mm">
                          <fo:region-body region-name="body" margin-top="2.4cm" margin-bottom="11.8cm" margin-left="10mm"/>
                          <fo:region-before extent="2cm" region-name="xsl-region-before"/>
                          <fo:region-after extent="11.8cm" region-name="last-region-after" margin-right="40mm" display-align="after"/>
                          <fo:region-start extent="1cm" region-name="xsl-region-start"/>
                      </fo:simple-page-master>

       

      <fo:page-sequence-master master-name="basicPSM">
                          <fo:repeatable-page-master-alternatives>
                              <fo:conditional-page-master-reference master-reference="singlePage" page-position="only"/>
                      

      Attachments

        1. TextAusgabePDF.xml
          105 kB
          Franziska Zäch
        2. patch_xmlgraphics-website_FOP-3090_02.diff
          4 kB
          Dave Roxburgh
        3. patch_xmlgraphics-fop_FOP-3090_02.diff
          19 kB
          Dave Roxburgh
        4. Mustermann.xml
          9 kB
          Franziska Zäch
        5. Mustermann.xml
          9 kB
          Franziska Zäch
        6. Mustermann.pdf
          109 kB
          Franziska Zäch
        7. Mustermann.2.7.pdf
          80 kB
          Franziska Zäch
        8. Mustermann_Test_2.7.pdf
          7 kB
          Franziska Zäch
        9. Mustermann_short_ok.xml.pdf
          8 kB
          Franziska Zäch
        10. Mustermann_short_ok.xml
          8 kB
          Franziska Zäch
        11. Mustermann_big_ok.xml.pdf
          9 kB
          Franziska Zäch
        12. Mustermann_big_ok.xml.pdf
          9 kB
          Franziska Zäch
        13. Mustermann_big_ok.xml
          12 kB
          Franziska Zäch
        14. Mustermann_big_ok.xml
          8 kB
          Franziska Zäch
        15. INVOICFO.xsl
          233 kB
          Franziska Zäch
        16. INVOICFO.xsl
          49 kB
          Franziska Zäch
        17. fop_invoic.bat
          0.4 kB
          Franziska Zäch
        18. CommonTemplateFO.xsl
          59 kB
          Franziska Zäch
        19. Codelist_Template.xsl
          2 kB
          Franziska Zäch

        Activity

          People

            ssteiner Simon Steiner
            Franziska Franziska Zäch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: