Yes, but it's initial-page-number, not "start-count". The split into
multiple page-sequences helps you with memory-consumption as a nice
side-effect. :-)

On 31.03.2006 16:41:40 Noll, Jeffrey T           HS wrote:
> Ok, so currently it is basically <fo:page-sequence> process each invoice
> </fo:page-sequence>
> 
> What I want is <for each invoice>
>                  <fo:page-sequence start-count="1">
>                  </fo:page-sequence>
>                </for each>
> ?
> 
> I know the sytax is totally wrong, just looking for general idea.
> -----Original Message-----
> From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 31, 2006 4:34 AM
> To: [email protected]
> Subject: Re: Resetting page counts in fop
> 
> You can use initial-page-number="1" on every fo:page-sequence. Your
> intuition about using position() to generate unique ids is good. HTH
> 
> On 30.03.2006 22:50:29 Noll, Jeffrey T           HS wrote:
> > I'm generating a single PDF that contains multiple invoices. The invoices
> > each have a separate page count. I want the page counts on each invoice in
> > the PDF to be relative to only itself.
> > 
> >     IE the 3rd invoice has 2 pages so should show page 1 of 2 and 2 of 2
> > in their headers.
> > 
> > Is there an easy way of doing this? Using position() to dynamically create
> > an fo:block that has the position() as part of the id to uniquely handle
> the
> > last page. But I'm not sure how to get the relative current page.
> >     Any ideas appreciated,



Jeremias Maerki


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

Reply via email to