Matthias Born wrote:
i'm generating a pdf document with one single page.
there must not be more than one page.
how can i avoid fop rendering more than one page if the source has to much content?


both, <fo:repeatable-page-master-reference/> and <fo:single-page-master-reference/> doesn't work. but i can't also not use a <fo:block-container/>, 'couse the page is split in more than one column.

In this case, you can't. You'd probably need control on how the FO processor handles the situation of running out of page masters, and FOP has the resolution somewhat recommended by the spec (use last valid page master) more or less hard coded.

Maybe you can try using iText or another tool to strip the unwanted
pages after rendering.

J.Pietschmann

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



Reply via email to