Hello;

I converted all the measurements into cm on my page layout. Everything looks
good except that my header is no longer showing up. I am not catching any
errors thrown when FOP renders the PDF. I can't figure out why it is not
being shown. The image it self is at the path on the server, everything else
is rendered fine, just a space where the header should be.

Any help would be appreciated.

Thanks,

Luke

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

<!-- configure the page attributes -->
<fo:layout-master-set>
<fo:simple-page-master master-name="simple" page-height="29.7cm"
page-width="21cm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm"
margin-right="1cm">

<fo:region-before extent="2.47cm"/>
<fo:region-body margin-top="2.47cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

</fo:layout-master-set>

<fo:page-sequence master-reference="simple">

<!-- header -->
<fo:static-content flow-name="xsl-region-start">
<fo:block>
<fo:external-graphic
src="url(file:///usr/tomcat/ac/images/topbanner/nakheel_BL_pdf_panel.gif)"
height="2.47cm" width="20cm" scaling="uniform" />
</fo:block>
</fo:static-content>

<!-- footer -->
<fo:static-content flow-name="xsl-region-end">
<fo:block font-family="Helvetica" start-indent="1em"
font-size="8pt">Footer</fo:block>
</fo:static-content>

<!-- body -->
<fo:flow flow-name="xsl-region-body" font-family="Helvetica"
start-indent="1em" font-size="8pt">
<!-- this template writes out all the main content, which shows up
correctly-->
<xsl:call-template name="draw_contents"/>
</fo:flow>

</fo:page-sequence>

</fo:root>



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

Reply via email to