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 Luke Shannon <ls...@futurebrand.com> on 2005/04/08 22:42:05 UTC

images crowding footers

Hello;

My FOP app has been running great for months without issue.

Lately people have been putting huge images on the page that is running into
the footer text.

There must be a way to prevent this from happening.

Here is my root, if someone has any tips I would appreciate it:

<!-- fo root: all document properties go inside this tag -->
<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.67cm"/>
<fo:region-body margin-top="2.67cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<!-- ouput the content -->
<fo:page-sequence master-reference="simple" initial-page-number="1">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
<fo:external-graphic
src="url('file:///usr/tomcat/{$site_name}/images/client/topbanner/arc_pdf_to
p_panel.gif')" height="2.67cm" width="20cm" scaling="uniform"/>
</fo:static-content>
<!-- footer -->
<fo:static-content flow-name="xsl-region-after">
<fo:table width="19cm">
<fo:table-column column-width="16cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block font-family="Helvetica" start-indent="1em" font-size="8pt"
text-align="left">
note: The colors represented on this PDF, when output to a printer, will not
match the proper PANTONE or other color breakdown specified in these
guidelines.
not attempt to make a visual match from this printout. Use only the proper
PANTONE swatch or specified equivalents for CMYK or RGB.
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-family="Helvetica" start-indent="1em" font-size="8pt"
text-align="right">
: <fo:page-number/> of <fo:page-number-citation
ref-id="last-page"/><fo:block id="last-page"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<!-- body -->
<fo:flow flow-name="xsl-region-body" font-family="Helvetica"
start-indent="1em" font-size="8pt">
<xsl:call-template name="draw_contents"/>
</fo:flow>
</fo:page-sequence>
</fo:root>

Thanks,

Luke Shannon | Software Developer
FutureBrand Toronto

207 Queen's Quay, Suite 400
Toronto, ON, M5J 1A7
416 642 7935 (office)



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org