I am having a problem with my header only appearing on
odd pages, but I have not set up my page masters to
have even-odd characteristics.  Is this something that
happens by default in FOP?  And if so, how can I turn
it off?  I would like the header to appear on all
pages.

Here is my template that sets up the page master, etc.

Thanks in advance!

Regards,
Dave

        <xsl:template name="page-template">
                <xsl:param name="report-title"/>
                <xsl:param name="before-extent" select="'0.875in'"/>
                <xsl:param name="body-margin-top"
select="'0.625in'"/>
                <xsl:param name="page-width" select="'11in'"/>
                <xsl:param name="page-height" select="'8.5in'"/>
                <fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format";>
                        <fo:layout-master-set>
                                <fo:simple-page-master margin-right="0.5in"
margin-left="0.5in" margin-bottom="0.5in"
margin-top="0.5in" master-name="all">
                                        <xsl:attribute 
name="page-height"><xsl:value-of
select="$page-height"/></xsl:attribute>
                                        <xsl:attribute 
name="page-width"><xsl:value-of
select="$page-width"/></xsl:attribute>
                                        <fo:region-before region-name="header">
                                                <xsl:attribute 
name="extent"><xsl:value-of
select="$before-extent"/></xsl:attribute>
                                        </fo:region-before>
                                        <fo:region-body margin-top=""
margin-bottom="0.5in" region-name="xsl-region-body">
                                                <xsl:attribute 
name="margin-top"><xsl:value-of
select="$body-margin-top"/></xsl:attribute>
                                        </fo:region-body>
                                        <fo:region-after extent="0.5in"
region-name="footer"/>
                                </fo:simple-page-master>
                        </fo:layout-master-set>
                        <fo:page-sequence master-reference="all">
                                <fo:static-content flow-name="header">
                                        <fo:list-block>
                                                <fo:list-item>
                                                        <fo:list-item-label>
                                                                <fo:block 
text-align="left"
padding-before="0.15in">
                                                                        
<fo:external-graphic
src="intelligent_systems_logo.gif" height="32pt"
width="100pt"/>
                                                                </fo:block>
                                                        </fo:list-item-label>
                                                        <fo:list-item-body>
                                                                <fo:block>
                                                                        
<fo:block text-align="right"
padding-before="0.15in" font-size="14pt"
font-weight="bold" color="#0000C0"
vertical-align="middle">
                                                                                
<xsl:value-of select="$report-title"/>
                                                                        
</fo:block>
                                                                        
<fo:block text-align="right"
padding-before="0.0675in" font-size="9pt"
font-weight="bold" color="gray" vertical-align="top">
                                                                                
<xsl:call-template
name="dt:format-date-time">
                                                                                
        <xsl:with-param name="xsd-date-time">
                                                                                
                <xsl:value-of select="@dateTime"/>
                                                                                
        </xsl:with-param>
                                                                                
        <xsl:with-param name="format" select="'%B
%d, %Y at %I:%M %P'"/>
                                                                                
</xsl:call-template>
                                                                        
</fo:block>
                                                                </fo:block>
                                                        </fo:list-item-body>
                                                </fo:list-item>
                                        </fo:list-block>
                                        <xsl:call-template name="page-header"/>
                                </fo:static-content>
                                <fo:static-content flow-name="footer">
                                        <fo:block>
                                                <fo:leader leader-length="100%"
leader-pattern="rule" rule-style="solid"
rule-thickness="1pt"/>
                                        </fo:block>
                                        <fo:block text-align="right" 
color="gray"
font-size="9pt" font-weight="bold">
                                                <fo:page-number/> of 
<fo:page-number-citation
ref-id="end"/>
                                        </fo:block>
                                </fo:static-content>
                                <fo:flow flow-name="xsl-region-body">
                                        <xsl:call-template name="region-body"/>
                                        <fo:block id="end"/>
                                </fo:flow>
                        </fo:page-sequence>
                </fo:root>
        </xsl:template>



        
                
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/

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

Reply via email to