Hi All; I posted some questions about this last week and I thought that I had received a solution from Patrick. However the problem is back and I'm stuck.
To review my problem users can design a PDF to be created that has several images stack upon one another. In cases where they stack several big images on top of one another, instead on creating a new page the bottom image ends up running off the first page and crowding the footer. I don't know how to proceed. I need a system of dealing with this. Either the page that gets generated is longer or the extra images go onto a second page. Can anyone help? Here is the code to generate the page, below this is the xsl:fo generated for one of the problem pages: <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="11in" page-width="8.5in" margin-top="2cm" margin-left="2cm" margin-right="2cm"> <fo:region-body region-name="xsl-region-body" display-align="center" margin-top="2.67cm" margin-bottom="3cm"/> <fo:region-before region-name="xsl-region-before" display-align="before" extent="2.67cm"/> <fo:region-after region-name="xsl-region-after" extent="2.5cm"/> </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_top _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="6pt" 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> XSL-FO from a generated page: <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-right="2cm" margin-left="2cm" margin-top="2cm" page-width="8.5in" page-height="11in" master-name="simple"> <fo:region-body margin-bottom="3cm" margin-top="2.67cm" display-align="center" region-name="xsl-region-body"/> <fo:region-before extent="2.67cm" display-align="before" region-name="xsl-region-before"/> <fo:region-after extent="2.5cm" region-name="xsl-region-after"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence initial-page-number="1" master-reference="simple"> <fo:static-content flow-name="xsl-region-before"> <fo:external-graphic scaling="uniform" width="20cm" height="2.67cm" src="url('file:///usr/tomcat/arcapita/images/client/topbanner/arc_pdf_top_pa nel.gif')"/> </fo:static-content> <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 text-align="left" font-size="6pt" start-indent="1em" font-family="Helvetica"> 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. Do 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 text-align="right" font-size="8pt" start-indent="1em" font-family="Helvetica"> Page: <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> <fo:flow font-size="8pt" start-indent="1em" font-family="Helvetica" flow-name="xsl-region-body"> <fo:block xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <fo:table width="100%" table-layout="fixed"> <fo:table-column column-width="14.3cm"/> <fo:table-column column-width="0.4cm"/> <fo:table-column column-width="4.3cm"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block> <fo:external-graphic src="url(file:///usr/tomcat/arcapita/tools/brandlink/Section_3/150dpi_3_0_01 .gif)" width="14cm" scaling="uniform" /> <fo:external-graphic src="url(file:///usr/tomcat/arcapita/tools/brandlink/Section_3/150dpi_3_0_02 .gif)" width="14cm" scaling="uniform" /> <fo:external-graphic src="url(file:///usr/tomcat/arcapita/tools/brandlink/Section_3/)" width="14cm" scaling="uniform" /> <fo:external-graphic src="url(file:///usr/tomcat/arcapita/tools/brandlink/Section_3/)" width="14cm" scaling="uniform" /> <fo:external-graphic src="url(file:///usr/tomcat/arcapita/tools/brandlink/Section_3/)" width="14cm" scaling="uniform" /> <fo:external-graphic src="url(file:///usr/tomcat/arcapita/tools/brandlink/Section_3/)" width="14cm" scaling="uniform" /> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block/> </fo:table-cell> <fo:table-cell> <fo:block font-size="10px" space-after="0.40cm" font-weight="bold">Arcapita Stationery<fo:block font-size="8px" space-after="0.40cm" font-weight="normal">Section: 3.0</fo:block></fo:block> <fo:block font-weight="normal">Stationery reaches many audiences and is an important part of our brand identity. Shown to the left are sample items from the Arcapita stationery set. ^M^M set includes:^M - Standard Letterhead^M - Continuation Sheet^M - Standard Envelopes^M - Large Envelopes^M - Themed Envelopes^M - Business Card^M - Press Kit Folder ^M - Monarch Letterhead and Envelope^M - Fax Sheet^M - Compliments Card^M ^M Detailed layout specifications for these items are provided as downloadable PDFs within this section. </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> Luke Shannon | Software Developer FutureBrand Toronto 207 Queen's Quay, Suite 400 Toronto, ON, M5J 1A7 416 642 7935 (office) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
