xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Problems with overlapping regions
Date Fri, 21 Oct 2005 14:17:41 GMT
The only weird thing I can see here is the extent property on the second
region-body. This property doesn't apply to region-body. BTW, it would
be much more fun to reproduce your problem if you posted a complete FO
file and stated the FOP version you are using. :-)

On 21.10.2005 13:47:56 Timo Haberkern wrote:
> Hello FOP List,
> 
> i have a problem with overlapping regions. I have content of the 
> region-body that overlapps content from region-after.
> 
> You can see it on the screenshot:
> 
> http://www.emedia-office.de/fop/overlapping.png
> 
> i have defined my page as follows:
> 
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>     <fo:layout-master-set>
>         <fo:simple-page-master master-name="First-Page" 
> page-height="29.7cm" page-width="21cm">
>             <fo:region-body margin-left="2cm"  margin-right="1.5cm" 
> margin-top="1cm" margin-bottom="2.5cm" />
>             <fo:region-start extent="2cm"/>
>             <fo:region-end extent="1.5cm"/>
>             <fo:region-after extent="2.0cm"/>
>         </fo:simple-page-master>
>         <fo:simple-page-master master-name="Following-Pages" 
> page-height="29.7cm" page-width="21cm" margin-left="2cm" 
> margin-right="1.5cm">
>             <fo:region-body extent="24.7cm" margin-top="3.5cm" 
> margin-bottom="2.5cm" background-color="rgb(0,255,0)" />
>             <fo:region-before extent="3.5cm"/>
>             <fo:region-after extent="2.5cm"/>
>         </fo:simple-page-master>
>         <fo:page-sequence-master master-name="rotex-offer">
>             <fo:single-page-master-reference master-reference="First-Page"/>
>             <fo:repeatable-page-master-reference 
> master-reference="Following-Pages" />
>         </fo:page-sequence-master>
>     </fo:layout-master-set>
>     
>     <fo:page-sequence master-reference="rotex-offer">
>         <fo:static-content flow-name="xsl-region-after">
>             <fo:block space-before="1cm">
>                 <fo:table width="100%" table-layout="fixed">
>                     <fo:table-column  />
>                     <fo:table-body>
>                         <fo:table-row>
>                             <fo:table-cell border-top="1px #000000 
> solid" >                
>                                 <fo:block text-align="right" 
> font-size="8pt" padding-top="0.1cm">
>                                     <fo:page-number/> / 
> <fo:page-number-citation ref-id="terminator"/>
>                                 </fo:block>
>                             </fo:table-cell>
>                         </fo:table-row>
>                     </fo:table-body>
>                 </fo:table>
>             </fo:block>
>         </fo:static-content>
>         
>         <!-- Body -->                
>         <fo:flow flow-name="xsl-region-body">
>             <fo:block font-size="9pt" >
>                 <xsl:apply-templates select="Offer_letter"/>
>             </fo:block>
>             <fo:block id="terminator" />
>         </fo:flow>
>     </fo:page-sequence>
> </fo:root>
> 
> 
> Any ideas whats going wrong?
> 
> best reagards
> 
> Timo


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message