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.
<fo:block-container position="relative" span="all"
background-color="rgb(255,255,255)" border="1px solid red"
reference-orientation="90" >
<fo:block> </fo:block>
</fo:block-container>
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:[email protected]]
Sent: 18 November 2009 16:51
To: [email protected]
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:[email protected]]
> Sent: 18 November 2009 15:47
> To: [email protected]
> 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:[email protected]]
> Sent: 18 November 2009 15:38
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]