Yes, you are right.
 
I tried to reproduce this problem and I attach 2 files for you, one is test file (the fop code )and another is page pdf.
 
Best Regards


Jeremias Maerki <[EMAIL PROTECTED]> a écrit :
As I already told Giovanni: no test file, no help possible. I can't
reproduce the problem.

On 30.01.2006 17:06:32 QIU Meng wrote:
> Hi all
>
> I have the same problem, I think that it is a fop bug. when we change a little the size between 2 lines, the white page will disappear. You can test it.
>
> Best Regards
>
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>a écrit :
> Hi all
> I attach a rtf rendered with fop 0.9.
> I got a useless white page.
> any idea how to fixing the number of pages?
&g t;
> ps: I wrote a similar mail but the attachment is wrong!! sorry


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez la version beta.
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

  <!-- defines page layout -->
  <fo:layout-master-set>

    <!-- layout for the first page -->
    <fo:simple-page-master master-name="simple"
                  page-height="21cm"
                  page-width="29.7cm"
                  margin-top="0.5cm"
                  margin-bottom="0cm"
                  margin-left="2cm"
                  margin-right="1cm">
      <fo:region-body margin-top="3cm" margin-bottom="1.5cm"/>
      <fo:region-before extent="5cm"/>
      <fo:region-after extent="1cm"/>
    </fo:simple-page-master>

  </fo:layout-master-set>
  <!-- end: defines page layout -->

  <!-- actual layout -->
  <fo:page-sequence master-reference="simple">

    <fo:static-content flow-name="xsl-region-after">
      <fo:table table-layout="fixed">
        <fo:table-column column-width="80mm"/>
        <fo:table-column column-width="105mm"/>
        <fo:table-column column-width="80mm"/>
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell padding="5mm" >
              <fo:block font-size="10pt" font-family="sans-serif"  
text-align="left"  text-indent="2pt">
                dd/MM/yyyy
              </fo:block>
            </fo:table-cell>
            <fo:table-cell padding="5mm" >
              <fo:block font-size="10pt" font-family="sans-serif" 
text-align="center">
                 v1.0
              </fo:block>
            </fo:table-cell>
            <fo:table-cell padding="5mm" >
              <fo:block font-size="10pt" font-family="sans-serif" 
text-align="right">
                <fo:page-number /> / <fo:page-number-citation ref-id="endofdoc" 
/>
              </fo:block>
            </fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
    </fo:static-content>  
    

    <fo:static-content flow-name="xsl-region-before">
      <fo:table table-layout="fixed" border-collapse="separate" 
border-style="solid" border-width=".2mm">
        <fo:table-column column-width="2cm"/>
        <fo:table-column column-width="24cm"/>

        <fo:table-body>
          <fo:table-row>
            <fo:table-cell border-style="solid" border-width="0.2mm">
              <fo:block><fo:external-graphic src=""/></fo:block>
            </fo:table-cell>
            <fo:table-cell vertical-align="middle" border-style="solid" 
border-width="0.2mm">
              <fo:block font-size="22pt" font-family="sans-serif" 
text-align="center"
                                         font-weight="bold" 
display-align="center" 
                                         space-before.optimum="10pt">Bookstore
             </fo:block>
             <fo:block>
               <fo:table table-layout="fixed">

               <fo:table-column column-width="80mm"/>
               <fo:table-column column-width="80mm"/>
               <fo:table-column column-width="80mm"/>
               <fo:table-body>
               
                 <fo:table-row>   
                   <fo:table-cell padding="1mm" >
                     <fo:block font-size="10pt" font-family="sans-serif"  
text-align="left">
                       N&deg;&nbsp;book :
                     </fo:block>
                   </fo:table-cell>
    
                   <fo:table-cell padding="1mm" >
                     <fo:block font-size="10pt" font-family="sans-serif" 
text-align="center">
                       contenu
                     </fo:block>
                   </fo:table-cell>
    
                   <fo:table-cell padding="1mm" >
                     <fo:block font-size="10pt" font-family="sans-serif" 
text-align="right">                      
                         &nbsp;
                     </fo:block>
                   </fo:table-cell>
                 </fo:table-row>
                 
                 <fo:table-row>                    
                   <fo:table-cell padding="1mm" number-columns-spanned="2">
                     <fo:block font-size="10pt" font-family="sans-serif" 
text-align="left">                       
                         &nbsp;                      
                     </fo:block>
                   </fo:table-cell>
    
                   <fo:table-cell padding="1mm" >
                     <fo:block font-size="10pt" font-family="sans-serif">       
                
                         &nbsp;                     
                     </fo:block>
                   </fo:table-cell>
                 </fo:table-row>
                                                  
               </fo:table-body>
              </fo:table>
            </fo:block>
        </fo:table-cell>
      </fo:table-row>
    </fo:table-body>
  
    </fo:table>
   </fo:static-content>
    
   <fo:flow flow-name="xsl-region-body">
      
   <fo:block space-before.optimum="2pt"
          space-after.optimum="5pt"
          padding-top="0pt">
   <fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm" border="solid #AAA">
   <fo:table-column column-width="26cm"/>
   </fo:table>
   </fo:block>
<!-- 1eme block -->
   <fo:block>
   <fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm"> 
    <fo:table-column column-width="4.24cm"/>
    <fo:table-column column-width="9.48cm"/>
    <fo:table-column column-width="1cm"/>
    <fo:table-column column-width="5.24cm"/>
    <fo:table-column column-width="5.24cm"/>
    
    <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">

        <fo:table-row>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right">Motif :
              </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="left" font-weight="bold"> </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right">
              N&deg;:
            </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left" font-weight="bold"></fo:block>
          </fo:table-cell>
        </fo:table-row>
        
        <fo:table-row>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right">
              Date  :
           </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left" font-weight="bold"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
        </fo:table-row>    

        
    </fo:table-body>
  </fo:table>
</fo:block>



<fo:block space-before.optimum="2pt"
          space-after.optimum="5pt"
          padding-top="0pt">
<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm" border="solid #AAA">
<fo:table-column column-width="26cm"/>
</fo:table>
</fo:block>

<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm"> 
    <fo:table-column column-width="26cm"/>
    <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">
                <fo:table-row>
          <fo:table-cell  padding="1mm" >
            <fo:block font-style="italic">Le bilan des soldes hiver, demarres 
depuis trois semaines, risque dtre diocre, les commerants ayant constat une 
baisse importante de leurs ventes depuis le week-end dernier
                        </fo:block>
          </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
</fo:table>

<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm"> 
  <fo:table-column column-width="1cm"/>
  <fo:table-column column-width="20cm"/>
  <fo:table-column column-width="5cm"/>

  <fo:table-header end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">
    <fo:table-row>
      <fo:table-cell font-weight="bold" padding="2mm" 
number-columns-spanned="2">
        <fo:block text-align="left"  font-size="11pt" 
text-decoration="underline">
          Calcul 
        </fo:block>
      </fo:table-cell>
    </fo:table-row>
  </fo:table-header>

  <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">
    <fo:table-row>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left"></fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left">
          Valeur 
        </fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="right">
          
        </fo:block>
      </fo:table-cell>
    </fo:table-row>
    
    <fo:table-row>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left"></fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left">
          Montant 
        </fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="right">
          
        </fo:block>
      </fo:table-cell>
    </fo:table-row>
    
    
    <fo:table-row>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left"></fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left">
          Montant 
        </fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="right" font-weight="bold">
          
        </fo:block>
      </fo:table-cell>
    </fo:table-row>

    
    <fo:table-row>
      <fo:table-cell  padding="1mm">
        <fo:block text-align="left"></fo:block>
      </fo:table-cell>
      <fo:table-cell  padding="1mm" number-columns-spanned="2">
        <fo:block font-weight="bold" text-decoration="underline">
          Montants de r&eacute;f&eacute;rence 
        </fo:block>
      </fo:table-cell>
    </fo:table-row>

    <fo:table-row>
      <fo:table-cell/>
      <fo:table-cell  padding="1mm" number-columns-spanned="2">
        <fo:block font-size="8pt">
          *** Il agit 
        </fo:block>
      </fo:table-cell>
    </fo:table-row>

  </fo:table-body>
</fo:table>

<fo:block  space-before.optimum="8pt">
  <fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm">
    <fo:table-column column-width="1cm"/>
    <fo:table-column column-width="20cm"/>
    <fo:table-column column-width="5cm"/>
    <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">
      <fo:table-row>
        <fo:table-cell  padding="1mm">
          <fo:block text-align="left"></fo:block>
        </fo:table-cell>
        <fo:table-cell  padding="1mm">
          <fo:block font-weight="bold" text-decoration="underline">
            dd/MM/yyyy : 
          </fo:block>
        </fo:table-cell>
        <fo:table-cell  padding="1mm">
          <fo:block font-weight="bold" text-align="right">
            0,00
          </fo:block>
        </fo:table-cell>
      </fo:table-row>
    </fo:table-body>
  </fo:table>
</fo:block>


<!-- 2eme block -->
<fo:block space-before.optimum="10pt"
          space-after.optimum="5pt"
          padding-top="0pt">
<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm" border="solid #AAA">
<fo:table-column column-width="26cm"/>
</fo:table>
</fo:block>

<fo:block>
<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm"> 
    <fo:table-column column-width="1cm"/>
    <fo:table-column column-width="20cm"/>
    <fo:table-column column-width="5cm"/>

    <fo:table-header end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">  
      <fo:table-row>
        <fo:table-cell font-weight="bold" padding="2mm" 
number-columns-spanned="3">
          <fo:block text-align="left"  font-size="11pt" 
text-decoration="underline">
            Calcul 
          </fo:block>
        </fo:table-cell>
      </fo:table-row>          
    </fo:table-header>
    
    <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">
        
        <fo:table-row>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left">Montant  (1)</fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
        </fo:table-row>
        
        <fo:table-row>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left">Nombre </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
        </fo:table-row>
        
        <fo:table-row>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left">attribuable (1/2)</fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right" font-weight="bold"></fo:block>
          </fo:table-cell>
        </fo:table-row>
     
    
    </fo:table-body>
  </fo:table>
  </fo:block>
   
<fo:block  space-before.optimum="10pt">
<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm"> 
    <fo:table-column column-width="1cm"/>
    <fo:table-column column-width="20cm"/>
    <fo:table-column column-width="5cm"/>

    <fo:table-header end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">  
      <fo:table-row>
        <fo:table-cell font-weight="bold" padding="2mm" 
number-columns-spanned="3">
          <fo:block text-align="left"  font-size="11pt" 
text-decoration="underline">Calcul </fo:block>
        </fo:table-cell>
      </fo:table-row>          
    </fo:table-header>
    
    <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">
        
        <fo:table-row>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left">Montant </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
        </fo:table-row>
        
        <fo:table-row>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left">Nombre </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
        </fo:table-row>
        
        <fo:table-row>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right"></fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm">
            <fo:block text-align="left">Valeur </fo:block>
          </fo:table-cell>
          <fo:table-cell  padding="1mm" >
            <fo:block text-align="right" font-weight="bold"></fo:block>
          </fo:table-cell>
        </fo:table-row>
        
    </fo:table-body>
  </fo:table>
</fo:block>

<fo:block  space-before.optimum="8pt">
<fo:table table-layout="fixed" border-collapse="separate" border-style="" 
border-width="0.6mm"> 
    <fo:table-column column-width="1cm"/>
    <fo:table-column column-width="20cm"/>
    <fo:table-column column-width="5cm"/>

    <fo:table-header end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">  
      <fo:table-row>
        <fo:table-cell font-weight="bold" padding="2mm" 
number-columns-spanned="2">
          <fo:block text-align="left"  font-size="11pt" 
text-decoration="underline">Valeur </fo:block>
        </fo:table-cell>
        <fo:table-cell  padding="1mm" >
            <fo:block text-align="right" font-weight="bold"></fo:block>
          </fo:table-cell>
      </fo:table-row>          
    </fo:table-header>

    <fo:table-body end-indent="0pt" start-indent="0pt" font-size="10pt" 
font-family="sans-serif">        
        <fo:table-row>
          <fo:table-cell  padding="1mm" number-columns-spanned="3">
            <fo:block text-align="left">*Il peut </fo:block>
          </fo:table-cell>
        </fo:table-row>       
    </fo:table-body>    
  </fo:table>
</fo:block>    
      <!-- Marqueur pour calcul du nombre de pages  -->  
      <fo:block id="endofdoc"/> 
    </fo:flow>
  </fo:page-sequence>

</fo:root>

Attachment: page.pdf
Description: 2107653831-page.pdf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to