Column balancing is known to have some oddities. page-position="last" is
pretty new so it may well be that there are some problems left. An FO
file demonstrating the problem would be welcome.

On 19.05.2006 14:18:50 Adam Davies wrote:
> Hi everybody, Need some help or may have found a bug
> I have a complex page sequence below. I'm using the current FOP Trunk release 
> BTW.  Some background setup info:
>  <fo:page-sequence-master master-name="contents" >
>      <fo:repeatable-page-master-alternatives>
>       
>       <fo:conditional-page-master-reference
>        master-reference="leftPage"
>        odd-or-even="even"
>        page-position="first"/>
>       
>       <fo:conditional-page-master-reference 
> 
>        master-reference="rightPage"
>        odd-or-even="odd"
>        page-position="first" />
>       
>       <fo:conditional-page-master-reference
>        master-reference="leftPage" 
>        odd-or-even="even"
>        page-position="rest"/>
>       
>       <fo:conditional-page-master-reference 
>        master-reference="rightPage" 
>        odd-or-even="odd"
>        page-position="rest" 
> />
>       
>       <fo:conditional-page-master-reference 
>        master-reference="lastLeftPage"
>        page-position="last"
>        odd-or-even="even"/>
>       
>       <fo:conditional-page-master-reference 
>        master-reference="lastRightPage" 
>        page-position="last"
>        odd-or-even="odd"/>
>       
>      </fo:repeatable-page-master-alternatives>
>     </fo:page-sequence-master>
> 
> with a sample of the page: most a like this one
>  <fo:simple-page-master master-name="rightPage"
>      page-height="297mm"
>      page-width="210mm"
>      margin-top="20mm"
>      margin-bottom="59mm"
>      margin-left="25mm"
>      margin-right="59mm">
>      <fo:region-body
>       column-count="2" 
>       column-gap="5mm"
>       margin-top="9mm"
>       margin-bottom="10mm" />
>      <fo:region-before region-name="rightHeader" extent="10mm" />
>      <fo:region-after 
> display-align="after" region-name="rightFooter" extent="5mm" />
>     </fo:simple-page-master>
> last page has a bigger footer due to extra info, see
> <fo:simple-page-master master-name="lastRightPage"
>      page-height="297mm"
>      page-width="210mm"
>      margin-top="20mm"
>      margin-bottom="59mm"
>      margin-left="25mm"
>      margin-right="59mm">
>      
>      <fo:region-body 
>       column-count="2" 
>       column-gap="5mm"
>       margin-top="9mm"
>       margin-bottom="95mm"/>
>      <fo:region-before region-name="rightHeader" extent="10mm" 
> />
>      <fo:region-after display-align="after" region-name="lastRightFooter" 
> extent="95mm" />
>     </fo:simple-page-master>
> 
> As you can see I'm using two columns. The problem I'm getting is that
> the content stops flowing to the last page area when a <fo:block
> span="all">XXX</fo:block> is to appear last in the <fo:flow>. Soemtimes
> the last page displays with XXX at the top if its the last block. The
> main issue is that the second last page data is missing altogther.  The
> second last page that renders is really the 3rd last. If I remove the
> span block it work fine. I can render with XSL Formatter V3.4 Trial fine. 
> Also towards the last 4 or so pages the column balance does a poor job.
> Sometimes the first column is full to the bottom of the page and second
> is emty. At the bottom of the page is a fo:block span = all for a new
> title. I'm producing documents in the range of 20-40 pages long.
> Is this a known problem? I'll also see if I can put together a sample
> file as the content is confidential.
> Regards
> Adam


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to