Hi,
 
You should be able to put the <fo:static-content> in the <fo:page-sequence>.
 
<fo:page-sequence master-reference="detail">
    <fo:static-content flow-name="xsl-region-after">
        <fo:block  text-indent="5mm"  font-family="verdana" font-size="12pt"  
space-before="5mm" space-after="5mm" font-weight="bold">
             This Text belongs to the footer part of the FO page
        </fo:block>
    </fo:static-content>
    <fo:flow> 
     ....
    </fo:flow>
</fo:page-sequence>
    

-----Original Message-----
From: Murali Krishna [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 6:07 AM
To: FOP users
Subject: Adding same header and footer for multiple page sequences in XSLFO


Hi,
I have a requirement to have same header and footer on every page of the pdf 
output of xslfo .
Without using following redundant code in every page sequence how could i 
achieve the same effect by declaring the footer once and just refer somehow to 
that on every page sequence.
 
The footer is as follows:-
 
<fo:static-content flow-name="xsl-region-after">
 <fo:block  text-indent="5mm"  font-family="verdana" font-size="12pt"  
space-before="5mm" space-after="5mm" font-weight="bold">
  This Text belongs to the footer part of the FO page
</fo:block>
</fo:static-content>
 
Thanking in anticipation,
 
Murali Krishna

Reply via email to