Re: span=all in last page sequence is dropping second last page from PDF

2006-05-28 Thread Adam




Hi Jeremias,

I modified one of the examples, based on
"examples/fo/pagination/franklin_2pageseqs.fo" and added a last page
sequence to it.

see http://users.bigpond.net.au/buddy/fop/lastpagespans.fo

The example is not 2 columns but the bug is evident with no columns. If
you remove the
last fo:block with the span all the PDF renders correctly.
Page-position="last"
seems to be a factor here.

Hope this helps
Cheers
Adam


Jeremias Maerki wrote:

  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]


  




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



Re: span=all in last page sequence is dropping second last page from PDF

2006-05-23 Thread Adam




Hi Jeremias,

I modified one of the examples, based on
"examples/fo/pagination/franklin_2pageseqs.fo" and added a last page
sequence to it.

download @ http://users.bigpond.net.au/buddy/fop/lastpagespans.fo

The example is not 2 columns but the bug is evident. If you remove the
last fo:block with the span all the it renders correctly.
Page-position="last"
seems to be a factor.

Hope this helps
Cheers
Adam


Jeremias Maerki wrote:

  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]


  




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



span=all in last page sequence is dropping second last page from PDF

2006-05-19 Thread Adam Davies
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-alternativesfo:conditional-page-master-referencemaster-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-referencemaster-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 onefo: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-bodycolumn-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, seefo: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 usingtwo 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 appearlast in the fo:flow. Soemtimesthe last page displays with XXX at the top if its the last block. The main issue is thatthe second last page data is missing altogther. The second last page thatrenders 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



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



Re: span=all in last page sequence is dropping second last page from PDF

2006-05-19 Thread Jeremias Maerki
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=allXXX/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]