Re: FOP: how do I get my content to overflow onto a new page?
- --- In XSL-FO@y..., "Pouliot, Brian R." <brpouliot@t...> wrote:
> All the documentation I've found says that all content in thefo:region-body
> will overflow onto a new page if there is not room for it on thefirst one.
Have you specified that the page onto which you're flowing blocks is
repeatable? That usually looks something like:
Odd-numbered pages use master A4-Portrait-Page-Odd,
even-numbered ones use master A4-Portrait-Page-Even.
"Repeatable" means to reuse the page masters in the block.
"Alternatives" means a decision is made on which master to use.
If you only want to repeat a single master, instead of choosing which
of several masters to use every time a block overflows the current
page, you could replace the fo:repeatable-page-master-alternatives
block with something like this:
All this works in XEP. It should work in FOP, too, as it's a pretty
basic part of the CR.
> I also found several sites saying to set the "overflow" attribute ofabove
> fo:region-body to "paginate" or "visible". This didn't work either.
> I have a tabular report document that displays fo:block headers
> fo:table elements. The only way I know to position the blockheaders
> correctly is to use absolute positioning. Does that mess up theformatting?
> All I can think of is that my absolute positioning is not allowingthe
> page-master to start a new page.
> Anybody figured this out?