Hi!

Chris Bowditch wrote:
> 
> Miroslav Pukhalsky wrote:
> 
> > Hi, there!
> >
> > I have problem. I should generate PDF file. This report has 2 parts e.g.
> > body and tail.
> > If there is enough space for tail on a page after body, tail should be
> > on the same page like page footer.
> > If there is not enough space for tail on a page after body, tail should
> > be on the next page like page footer.
> > If body has one and half page, tail should be on the second place like
> > page footer.
> 
> It sounds to me like you need to keep the tail together, i.e. so there are no
> page-breaks part way through the tail. In XSL-FO, you can put
> keep-together="always" on a block to achieve what you want. However,
> keep-together is only supported on a table-row in FOP.
> 
> You can place your tail content into a table with 1 row and 1 cell, and put
> keep-together="always" on the table-row. This should have the desired effect.
> 
> <snip/>
> 
> Chris
> 

Thanks, it's working.

Miroslav

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

Reply via email to