You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Andrejus Chaliapinas <a....@infosana.com> on 2007/11/27 16:35:42 UTC

What about 'maximum-repeats'? RE: Is it possible to limit FOP transformation output (PDF) onyl to several pages?

> There's nothing in XSLT or FO that lets you do that. But you can go

Found described here:
http://www.cafeconleche.org/books/bible2/chapters/ch18.html

<fo:page-sequence-master master-name="contents">
  <fo:repeatable-page-master-reference master-reference="A4"
                                       maximum-repeats="10"/>
</fo:page-sequence-master>

Will it work if I change value to 2 (for my test case of 2 initial document
pages)?

Andrejus





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: What about 'maximum-repeats'? RE: Is it possible to limit FOP transformation output (PDF) onyl to several pages?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
No, the spec defines that the implementation should reuse the last
page-master if there's more content but no more page-masters. There's
nothing built into FOP that allows you to do that. I've explained to you
the options that are available right now. Everything else involves
hacking FOP.

Jeremias Maerki



On 27.11.2007 16:35:42 Andrejus Chaliapinas wrote:
> > There's nothing in XSLT or FO that lets you do that. But you can go
> 
> Found described here:
> http://www.cafeconleche.org/books/bible2/chapters/ch18.html
> 
> <fo:page-sequence-master master-name="contents">
>   <fo:repeatable-page-master-reference master-reference="A4"
>                                        maximum-repeats="10"/>
> </fo:page-sequence-master>
> 
> Will it work if I change value to 2 (for my test case of 2 initial document
> pages)?
> 
> Andrejus


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org