Re: Letter in xsl

2005-11-22 Thread Ail Sahin

Thanks a lot,

I'm gonna trying it right now.

Glen Mazza schrieb:


Ail Sahin wrote:



One 'page' is one customer with its n-Vouchers. The first page should 
contain receipient address, subject,

columnnames, text etc and the list of vouchers.
That works fine but when there are many vouchers, a second page ist 
printed, but with the receipient adress, subject etc.




I guess the problem is that you do *not* want the header information 
on pages after the first.


I think you will need to create an fo:page-sequence-master for this to 
work.  Do a search on page-position="first" here [1] for the general 
idea.


Next, very similar to here [2], you'll be activating different 
fo:simple-page-masters based on whether or not the page is the first 
in the page sequence.  Instead of left or right, however, the issue is 
first-page or not first-page.


[1] 
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/fo/pagination/franklin_2pageseqs.fo?rev=197469&view=markup 



[2]
http://marc.theaimsgroup.com/?l=fop-user&m=113078517606736&w=2

Glen

-
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: Letter in xsl

2005-11-21 Thread Glen Mazza

Ail Sahin wrote:



One 'page' is one customer with its n-Vouchers. The first page should 
contain receipient address, subject,

columnnames, text etc and the list of vouchers.
That works fine but when there are many vouchers, a second page ist 
printed, but with the receipient adress, subject etc.




I guess the problem is that you do *not* want the header information on 
pages after the first.


I think you will need to create an fo:page-sequence-master for this to 
work.  Do a search on page-position="first" here [1] for the general idea.


Next, very similar to here [2], you'll be activating different 
fo:simple-page-masters based on whether or not the page is the first in 
the page sequence.  Instead of left or right, however, the issue is 
first-page or not first-page.


[1] 
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/fo/pagination/franklin_2pageseqs.fo?rev=197469&view=markup


[2]
http://marc.theaimsgroup.com/?l=fop-user&m=113078517606736&w=2

Glen

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



Letter in xsl

2005-11-21 Thread Ail Sahin

Hi there,

I have some problems creating a certain XSL:FO file.
I'd like to create series letters respective account statements for 
n-customers.


The XML-Data is managed like followed:



 
   Mr. X
 
 
 X-Street 1
 
 
   Ownedtown
 
 
   Accountstatement
 
 
   Foo Bar
 
 
   Documentnumber
 
 
   Documenttext
 
 
   Debit/Credit
 
 
  
   
   1
   
   
   Invoice
   
   
   100
   
  
   .
  n-vouchers
   .
  
   
   100
   
   
   Invoice
   
   
   120
   
  
 


   same as obove





One 'page' is one customer with its n-Vouchers. The first page should 
contain receipient address, subject,

columnnames, text etc and the list of vouchers.
That works fine but when there are many vouchers, a second page ist 
printed, but with the receipient adress, subject etc.


How to handle this?`

The XSL-File:


   http://www.w3.org/1999/XSL/Format";>
   
   
   
   
   
   
   
   
   
   
   
   column-width="10cm"/>

   
   
   
   
   
   

   

   

   

   select="name2"/>
   

   

   

   
select="city"/>

   
   
   
   
   number-columns-spanned="2">
   font-family="Courier" font-size="10pt" text-align="left">
   


   
   
   
   
   number-columns-spanned="2">
   font-size="10pt" text-align="left">
   


   
   

   
   
   padding="1pt">
   column-width="2.6cm"/>
   column-width="2.0cm"/>
   column-width="2.3cm"/>

   
   
   
   font-size="10pt" text-align="left">
   


   
   
   
   font-size="10pt" text-align="left"  > 
   


   
   
   
   font-size="10pt" text-align="left"  > 
   


   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   text-align="left">

   
   
   
   
   text-align="left">

   
   
   
   
   text-align="right" border-width="1mm"> 

   
   
   
   
   
   
   
   
   



Can sb give me a hint?

Greets
kirashet

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