Hello,

I want to have a document where the first page and the middle pages have no
static-content at the foot, only the last page should have one.

I have got a XML-file with data which will fit on three pages. The first one
is ok, but the second one has a footer like the last.

Anyone can help me?

Britta Bargel



My implementation is the following.

<fo:layout-master-set>
        <fo:simple-page-master master-name="firstPage"
                                        margin-left="14mm"
                                        margin-right="6mm"
                                        margin-top="10mm" 
                                        margin-bottom="10mm"
                                        page-height="297mm" 
                                        page-width="210mm">             
                <fo:region-body margin-top="12mm" />
                <fo:region-before extent="12mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master master-name="middlePage"
                                        margin-left="14mm"
                                        margin-right="6mm"
                                        margin-top="10mm" 
                                        margin-bottom="10mm"
                                        page-height="297mm" 
                                        page-width="210mm">             
                <fo:region-body margin-top="12mm" />
                <fo:region-before extent="12mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master master-name="lastPage"
                                        margin-left="14mm"
                                        margin-right="6mm"
                                        margin-top="10mm" 
                                        margin-bottom="10mm"
                                        page-height="297mm" 
                                        page-width="210mm">             
                <fo:region-body margin-top="12mm" 
                                    margin-bottom="35mm"/>
                <fo:region-before extent="12mm"/>
                <fo:region-after extent="35mm"/>
        </fo:simple-page-master>
        <fo:page-sequence-master master-name="document">
          <fo:repeatable-page-master-alternatives>
                <fo:conditional-page-master-reference
master-reference="firstPage" page-position="first"/>
                <fo:conditional-page-master-reference
master-reference="lastPage" page-position="last"/>
                <fo:conditional-page-master-reference
master-reference="middlePage" page-position="rest"/>
</fo:repeatable-page-master-alternatives>
        </fo:page-sequence-master>
</fo:layout-master-set>

I need to work with the static-content because of a frame around the
contents of the body. If I work with footnote and the contents of the
footnote is smaller than 35mm I get an space between the frame around the
body content and the frame around the foot content.


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

Reply via email to