RE: Problem with column spanned

2002-11-14 Thread Ward, Christopher
Your second table row has no content, and is most likely being colapsed to
nothing.

regards,
Frugal


 -Original Message-
 From: Yann Verlynde [SMTP:[EMAIL PROTECTED]
 Sent: Thursday, November 14, 2002 12:04 PM
 To:   FOP
 Subject:  Problem with column spanned
 
 Hello,
  
 I have a problem with number-column-spanned, it doesnt' work. This is my
 code...
  
 fo:table border-style=solid border-width=0pt
 inline-progression-dimension =16cm
 
 fo:table-column column-width=30mm/
 
 fo:table-column column-width=20mm/
 
 fo:table-column column-width=30mm/
 
 fo:table-column column-width=30mm/
 
 fo:table-column column-width=25mm/
 
 fo:table-column column-width=25mm/
 
 fo:table-column column-width=30mm/ 
 
 fo:table-body
 
 fo:table-row text-align=center font-size=10pt background-col
 or=#22BBCC
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:blockDate de naissance/fo:block
 
 /fo:table-cell
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:bloc kSexe/fo:block
 
 /fo:table-cell
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:blockCadre Emploi/fo:block
 
 /fo:table-cell
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:blockCode NET/fo:block
 
 /fo:table-cell
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:blockSpécialité/fo:block
 
 /fo:table-cell
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:blockDiscipline/fo:block
 
 /fo:table-cell
 
 fo:table-cell border=0.5pt solid black background-color=#22BBCC
 
 fo:blockDate de début/fo:block
 
 /fo:table-cell 
 
 /fo:table-row
 
 fo:table-row
 
 fo:table-cell number-columns-spanned=7
 
 fo:block space-after=5mm space-before=5mm
 
 fo:leader leader-pattern=rule rule-thickness=1.0pt
 leader-length=100%/
 
 /fo:block
 
 /fo:table-cell ;
 
 /fo:table-row
 
 ...
 
  
 
 Thanks in advance
 
  


RE: page-position=last, FOP vs XEP, business forms

2002-11-11 Thread Ward, Christopher
Would it be posible to iterate over your list of invoices (by using
recursion with the head and tail approach in the xslt translation). But keep
a counter of the number of invoices processed this page. When the counter
hits a certain level start a new page by doing the carried forward/brought
forward part of the page break. 

That way if there are no page breaks all of the invoice lines will appear on
the one page, and if there are more invoice lines that can appear on a
single page the appropriate page break will appear.

This approach will however mean that you have a page sequence for each page.
It will also mean that you have to know how many invoice lines can appear on
a single page.

regards,
Chris



 -Original Message-
 From: Jeremias Maerki [SMTP:[EMAIL PROTECTED]
 Sent: Monday, November 11, 2002 3:41 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: page-position=last, FOP vs XEP, business forms
 
 :-) We're doing mostly invoices and such but that's exactly the kind of
 requirements that I've always tried to avoid. If you can figure out a
 good (general) solution I'd be glad if you could post it. I regret that
 I never took the time to figure it out myself. I hope somebody on this
 list has a few good ideas. I've thought about markers for the subtotals,
 but I don't know if they can help here.
 
 On Mon, 11 Nov 2002 16:33:08 +0100 Nwilan Glirt wrote:
  I hope that it is possible to work around the missing
 page-position=last. 
  What I am doing is producing a classic invoice-type document which
 needs:
 Special first page with adresses in the header and amount tranferred
 to 
  next page in case of more than one page.
 Middle pages with amount transferred from prev. page and amount 
  tranferred to next page
 Special last page with amount transferred from prev. page and total
 
  amount etc.
  
  On top of this I need a page design for first page also beeing last
 page, 
  with both the adress part and the total part!
  
  I'm not even sure this can be acchived using FO as such. Does anyone
 have 
  experiences with producing business forms such as invoices? Wanna share?
 
 
 Jeremias Maerki