You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Reichert Bernard <va...@gmx.net> on 2002/07/22 14:40:23 UTC

help me with region-before

Hi I am using this code (begining..)     
What should I change to get a text in the region before after the fist
page?
Regards
 Reichert Bernard
...
<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"
margin-top="6.2cm" margin-bottom="1in" margin-left="2cm"
margin-right="2cm">
                                 <fo:region-body margin-top="0cm"
margin-bottom="0.75in"/>
                                 <fo:region-before extent="6.2cm"/>
                                 <fo:region-after extent="1in"/>
                           </fo:simple-page-master>
                           <fo:simple-page-master
master-name="all-pages" page-height="29.7cm" page-width="21cm"
margin-top=".5in" margin-bottom=".5in" margin-left="2cm"
margin-right="2cm">
                                 <fo:region-body margin-top=".1cm"
margin-bottom="0.75in"/>
                                 <fo:region-before region-name="Head"
extent="0.075in"/>
                                 <fo:region-after extent=".05in"/>
                           </fo:simple-page-master>
                           <fo:page-sequence-master
master-name="my-sequence">
                                 <fo:single-page-master-reference
master-reference="first-page"/>
                                 <fo:repeatable-page-master-reference
master-reference="all-pages"/>
                           </fo:page-sequence-master>
                    </fo:layout-master-set>
                    <fo:page-sequence master-reference="my-sequence">
                    <fo:static-content flow-name="Head">
                           <fo:block text-align="end" space-before="2cm"
space-after="2cm" start-indent="2cm" end-indent="2cm" font-size="20pt">
                           Hello
                           </fo:block>
                    </fo:static-content>
                           <fo:flow flow-name="xsl-region-body">
                                 <xsl:apply-templates select="Header"/>
                                 <xsl:apply-templates select="Details"/>
                                 <fo:block id="endofdoc"/>
                           </fo:flow>
                    </fo:page-sequence>
             </fo:root>
...

Re: help me with region-before

Posted by Antonio Fiol BonnĂ­n <fi...@w3ping.com>.
>
>
>                                 <fo:region-before region-name="Head" 
> extent="0.075in"/>
>

Hi,

Isn't your extent far too small?


Antonio Fiol