[ 
https://issues.apache.org/jira/browse/FOP-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Franziska Zäch updated FOP-3090:
--------------------------------
    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!

<fo:simple-page-master master-name="{color:#ff0000}singlePage{color}" 
page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="0mm" 
margin-left="3mm" margin-right="2mm">
                    <fo:region-body region-name="{color:#ff0000}body{color}" 
margin-top="2.4cm" margin-b{color:#ff0000}ottom="11.8cm{color}" 
margin-left="10mm"/>
                    <fo:region-before extent="2cm" 
region-name="xsl-region-before"/>
                    <{color:#ff0000}fo:region-after extent="11.8cm{color}" 
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"/>
                

  was:
Nach Upgrade FOP 1.1 nach FOP 2.7 wird die  "Single Page" nicht mehr richtig 
erstellt, wenn aufgrund des Datenvolumens in "body" und einer region-after 
extent="11.8cm eine 2. Seite erstellt werden soll. 

Siehe Anhang Mustermann.pdf: Hier wird aufgrund des Datenvolumens (body) eine 
2. Seite erstellt!

Siehe Anhang Mustermann 2.7.pdf: Hier müsste aufgrund des Datenvolumens (body) 
eine 2. Seite erstellt werden!

Hinweis: die Bankverbindung soll pro Dokument nur 1 mal gedruckt werden!

<fo:simple-page-master master-name="{color:#ff0000}singlePage{color}" 
page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="0mm" 
margin-left="3mm" margin-right="2mm">
                    <fo:region-body region-name="{color:#ff0000}body{color}" 
margin-top="2.4cm" margin-b{color:#ff0000}ottom="11.8cm{color}" 
margin-left="10mm"/>
                    <fo:region-before extent="2cm" 
region-name="xsl-region-before"/>
                    <{color:#ff0000}fo:region-after extent="11.8cm{color}" 
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"/>
                


> Incorrect page creation with master-reference="singlePage" 
> page-position="only"/>
> ---------------------------------------------------------------------------------
>
>                 Key: FOP-3090
>                 URL: https://issues.apache.org/jira/browse/FOP-3090
>             Project: FOP
>          Issue Type: Bug
>          Components: layout/page
>    Affects Versions: 2.7
>         Environment: Windows 10
>            Reporter: Franziska Zäch
>            Priority: Major
>             Fix For: 2.7
>
>         Attachments: Mustermann.2.7.pdf, Mustermann.pdf
>
>
> 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!
> <fo:simple-page-master master-name="{color:#ff0000}singlePage{color}" 
> page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="0mm" 
> margin-left="3mm" margin-right="2mm">
>                     <fo:region-body region-name="{color:#ff0000}body{color}" 
> margin-top="2.4cm" margin-b{color:#ff0000}ottom="11.8cm{color}" 
> margin-left="10mm"/>
>                     <fo:region-before extent="2cm" 
> region-name="xsl-region-before"/>
>                     <{color:#ff0000}fo:region-after extent="11.8cm{color}" 
> 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"/>
>                 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to