Hi Venkat Thanks for all your help so far.
Here is a generated fo file from my application where the problem lies is at the base the block container overlays the region after. I need the block container height to be larger than necessary as I dont know where my content will end with the span all so I cant set an explicit height to it. <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:exslt="http://exslt.org/common"> <fo:layout-master-set> <fo:simple-page-master master-name="whatsonneville" page-height="11.00in" page-width="8.27in" margin-top="0.50in" margin-left="0.47in" margin-right="0.47in" margin-bottom="0.35in"> <fo:region-body region-name="region-body" margin-bottom="0.91in" margin-top="1.38in" column-count="4" column-gap="0.17in" background-position-horizontal="center" background-repeat="repeat-y" background-image="url(images/4_column.gif)"/> <fo:region-before region-name="region-before" extent="1.17in"/> <fo:region-after region-name="region-after" extent="0.81in" precedence="true"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="whatsonneville"> <fo:static-content flow-name="region-before"> <fo:block line-height="0.01in" height="0.01in"> <fo:leader leader-pattern="rule" leader-length="100%" rule-style="solid" rule-thickness="0.01in" color="#000000" margin="0px"/> </fo:block> <fo:block font-family="CaeciliaRomanOsF" font-weight="bold" font-size="30pt" line-height="34pt" space-before="0.27in" space-after="0.25in"> Hello </fo:block> <fo:block line-height="0.12in" height="0.15in" padding="0px" margin="0px" white-space-treatment="ignore" linefeed-treatment="preserve" white-space-collapse="true"> <fo:leader leader-pattern="rule" leader-length="100%" rule-style="solid" rule-thickness="0.15in" color="#0AC4FF" margin="0px"/> </fo:block> </fo:static-content> <fo:static-content flow-name="region-after"> <fo:block-container position="absolute" border="1px solid black"> <fo:block border-top="0.01in solid #000000"> <fo:table inline-progression-dimension="7.33in" table-layout="fixed"> <fo:table-column column-number="1" column-width="0.50in"/> <fo:table-column column-number="1" column-width="5.15in"/> <fo:table-column column-number="1" column-width="1.68in"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block font-family="CaeciliaRomanOsF" font-weight="bold" font-size="10pt" line-height="12pt" color="#000000" padding-top="0.31in"> <fo:page-number/> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-family="CaeciliaRomanOsF" font-weight="bold" font-size="10pt" line-height="12pt" color="#000000" padding-top="0.31in"> Me</fo:block> <fo:block font-family="CaeciliaLTLight" font-weight="normal" font-size="10pt" line-height="12pt" color="#000000"> Place</fo:block> <fo:block font-family="CaeciliaLTLight" font-weight="normal" font-style="italic" font-size="10pt" line-height="12pt" color="#000000" padding-top="0.04in"> Dates</fo:block> </fo:table-cell> <fo:table-cell> <fo:block/> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block> </fo:block-container> </fo:static-content> <fo:flow flow-name="region-body"> <fo:block> Loads and loads of text spanning 4 columns then a spanned block container after to cover the page background image but it covers the footer also </fo:block> <fo:block-container position="absolute" span="all" break-after="page" border="1px solid red" keep-with-previous="always" background-color="rgb(255,255,255)"> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> <fo:block> </fo:block> </fo:block-container> </fo:flow> </fo:page-sequence> </fo:root> Any ideas would really be appreciated. Barry -----Original Message----- From: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com] Sent: 18 November 2009 16:51 To: fop-users@xmlgraphics.apache.org Subject: Re: Fo Span all Hi, I have used the FOP-Trunk for this example. I have tried with the background color instead of background-image... which is working for me... The example below is having two columns with the body background image, I have tried to fill with different color for each block, which you want to cover the background-image of the region-body. If this example doesn't give you answer, please reply me with more details... <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:r="http://xmlresume.sourceforge.net/resume/0.0"> <fo:layout-master-set> <fo:simple-page-master page-width="8.5in" page-height="11in" master-name="resume-page"> <fo:region-body column-count="2" background-image="C:\mywork\javaxsltsamples\xslfosamples\fop.jpeg" background-position-horizontal="center" background-repeat="no-repeat"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="resume-page"> <fo:flow flow-name="xsl-region-body" line-height="normal"> <fo:block span="all" border="1pt solid" background-color="green"> </fo:block> <fo:block span="all" border="1pt solid" background-color="red"> </fo:block> <fo:block span="all" border="1pt solid" background-color="blue"> </fo:block> <fo:block span="all" border="1pt solid">Test Spanned Block</fo:block> <fo:block span="none" border="1pt solid">Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block</fo:block> <!-- this one causes the error --> <fo:block span="all" border="1pt solid">Test Spanned Block</fo:block> </fo:flow> </fo:page-sequence> </fo:root> Cheers, Venkat. Barry Whiting wrote: > Opps I forgot fop version 0.95 > > -----Original Message----- > From: Barry Whiting [mailto:barry_whit...@londonmarketing.com] > Sent: 18 November 2009 15:47 > To: fop-users@xmlgraphics.apache.org > Subject: RE: Fo Span all > > Hi Venkat > > Yeap for sure thanks alot for getting back. > > <fo:simple-page-master master-name="hello" page-height="11.00in" > page-width="8.27in" margin-top="0.50in" margin-left="0.47in" > margin-right="0.47in" margin-bottom="0.35in"> > <fo:region-body > region-name="region-body" margin-bottom="0.91in" margin-top="1.38in" > column-count="4" column-gap="0.17in" > background-position-horizontal="center" background-repeat="repeat-y" > background-image="url(images/4_column.gif)" /> > <fo:region-before region-name="region-before" > extent="1.17in" /> > <fo:region-after region-name="region-after" > extent="0.81in" /> > </fo:simple-page-master> > > > Then the content > > <fo:block>Some text to span multiple columns</fo:block> > > I need this following bloxk to cover the background image. > <fo:block span="all"> </fo:block> > > Thanks > > Barry > > -----Original Message----- > From: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com] > Sent: 18 November 2009 15:38 > To: fop-users@xmlgraphics.apache.org > Subject: Re: Fo Span all > > Hi, > > Can you please attach your sample? What version of FOP are you using? > > Thanks, > Venkat. > > Barry Whiting wrote: > >> Hi >> >> >> >> I'm sure there is an easy answer to this so I thought I would ask the >> experts. >> >> >> >> I have a 4 column page with a background image with a designed line >> for each column. I need to span all >> >> columns so that I can break out of the columns and then cover over the >> > > >> remaining background image with white. >> >> >> >> Thanks for all your help again. >> >> >> >> Barry >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.707 / Virus Database: 270.14.68/2507 - Release Date: > 11/18/09 07:50:00 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.707 / Virus Database: 270.14.68/2507 - Release Date: > 11/18/09 07:50:00 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.707 / Virus Database: 270.14.68/2507 - Release Date: 11/18/09 07:50:00 --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org