On Jul 30, 2007, at 18:13, Richard FARAND wrote:

Hi

I am new to FOP.

In that case: Welcome!

I have to print a set of clients' invoices. For each client I have to print a letter first, and then print all his invoices.
So I have an XML File with structure like this:
<snip />
letter and invoice do not use the same page-master. I defined two page-masters with master-name = "letter" and "invoice".

Which page-sequence (conditional or not), should I use to print for each client, his letter in the right page-master and then all his invoices in the second one.

That depends a bit, I think, on whether the letter itself can be more than one page. If not, then it would be conditional-page-master- alternatives you want to look at: - one for the first page (page-position="first" -> refer to the "letter" page-master) - and one for the others (page-position="rest" -> refer to the "invoice" page-master)

I can't immediately think of a straightforward solution in case the letter can be more than one page, but perhaps I'm simply missing something... Anyone?


Cheers

Andreas


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

Reply via email to