RE: Fo Span all
Hi Vincent Thank you so very much with your help it works exactly how I need. Barry -Original Message- From: Vincent Hennebert [mailto:vhenneb...@gmail.com] Sent: 19 November 2009 17:24 To: fop-users@xmlgraphics.apache.org Subject: Re: Fo Span all Hi Barry, The overflow warning comes from the region-before, whose content is higher than the extent. You can get rid of the warning by setting the extent to 1.37in (or making the content smaller). If I understood your need correctly, you can achieve what you want by making use of an elastic space, that must be as big as possible but is allowed to be reduced down to zero. In your example below, replace the block-container that has span="all" and a red border and plenty of fo:block children with the following: The block-container is to prevent the space from creating a mess with the preceding content (a so-called fence in the Recommendation); the conditionality must be set to retain so that the space, which starts a reference area, isn’t discarded. HTH, Vincent Barry Whiting wrote: > 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. > > > http://www.w3.org/1999/XSL/Format"; > xmlns:exslt="http://exslt.org/common";> > > page-height="11.00in" page-width="8.27in" margin-top="0.50in" > margin-left="0.47in" margin-right="0.47in" margin-bottom="0.35in"> >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)"/> > >precedence="true"/> > > > > > > rule-style="solid" rule-thickness="0.01in" color="#00" > margin="0px"/> > >font-size="30pt" line-height="34pt" space-before="0.27in" > space-after="0.25in"> > Hello > > >margin="0px" white-space-treatment="ignore" > linefeed-treatment="preserve" white-space-collapse="true"> > rule-style="solid" rule-thickness="0.15in" color="#0AC4FF" > margin="0px"/> > > > > > >table-layout="fixed"> > > > > > > > >font-weight="bold" font-size="10pt" line-height="12pt" color="#00" > padding-top="0.31in"> > > > > > >font-weight="bold" font-size="10pt" line-height="12pt" color="#00" > padding-top="0.31in"> > Me >font-weight="normal" font-size="10pt" line-height="12pt" > color="#00"> >
Re: Fo Span all
Place >font-weight="normal" font-style="italic" font-size="10pt" > line-height="12pt" color="#00" padding-top="0.04in"> > Dates > > > > > > > > > > > > > > > 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 > >break-after="page" border="1px solid red" keep-with-previous="always" > background-color="rgb(255,255,255)"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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... > > > http://www.w3.org/1999/XSL/Format"; > xmlns:r="http://xmlresume.sourceforge.net/resume/0.0";> > > master-name="resume-page"> > background-image="C:\mywork\javaxsltsamples\xslfosamples\fop.jpeg" > background-position-horizontal="center" background-repeat="no-repeat"/> > > > > > background-color="green"> > background-color="red"> > background-color="blue"> > Test Spanned > Block > Test Unspanned > Block Test Unspanned Block Test Unspanned Block Test Unspanned > Block > > Test Spanned > Block > > > > > 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. >> >> > page-width="8.27in" margin-top="0.50in" margin-left="0.47in" >> margin-right="0.47in" margin-bottom="0.35in"> >> > 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)" /> >> > extent="1.17in" /> >> > extent="0.81in" /> >> >> >> >> Then the content >> >> Some text to span multiple columns >> >> I need this following bloxk to cover the ba
RE: Fo Span all
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. http://www.w3.org/1999/XSL/Format"; xmlns:exslt="http://exslt.org/common";> Hello Me Place Dates 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 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... http://www.w3.org/1999/XSL/Format"; xmlns:r="http://xmlresume.sourceforge.net/resume/0.0";> Test Spanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Spanned Block 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. > > page-width="8.27in&qu
RE: Fo Span all
Hi Sorry this doesnt do what I need unfortunately. The span="all" is fine its trying to just set the last block to be the height of the remaining area of the region-body. I have now tried to rotate a block container hoping that it will take the width but this doesn't work either. This results in the block container taking the entire height of the page instead of just the remaining area. Thanks 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... http://www.w3.org/1999/XSL/Format"; xmlns:r="http://xmlresume.sourceforge.net/resume/0.0";> Test Spanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Spanned Block 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. > > page-width="8.27in" margin-top="0.50in" margin-left="0.47in" > margin-right="0.47in" margin-bottom="0.35in"> >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)" /> >extent="1.17in" /> > extent="0.81in" /> > > > > Then the content > > Some text to span multiple columns > > I need this following bloxk to cover the background image. > > > 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
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... http://www.w3.org/1999/XSL/Format"; xmlns:r="http://xmlresume.sourceforge.net/resume/0.0";> master-name="resume-page"> background-image="C:\mywork\javaxsltsamples\xslfosamples\fop.jpeg" background-position-horizontal="center" background-repeat="no-repeat"/> background-color="green"> background-color="red"> background-color="blue"> Test Spanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Unspanned Block Test Spanned Block 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. Then the content Some text to span multiple columns I need this following bloxk to cover the background image. 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
RE: Fo Span all
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. Then the content Some text to span multiple columns I need this following bloxk to cover the background image. 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
RE: Fo Span all
Hi Venkat Yeap for sure thanks alot for getting back. Then the content Some text to span multiple columns I need this following bloxk to cover the background image. 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
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