FOP, Help <fo:block no wrap in new page

Here should go questions about transforming XML with XSLT and FOP.
fabiofop
Posts: 3
Joined: Thu Feb 17, 2005 2:41 pm

FOP, Help <fo:block no wrap in new page

Post by fabiofop »

Hi,

I formatting area using

<fo:block...
with text in 3 rows.

Text at the end page, cause 2 rows in first page
and 1 row in second page.

Can I shift entire block in second page, and no wrap
rows?

Thanks for any suggestion.
fabio
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Maybe the attribute break-before will help you:

Code: Select all


<fo:block break-before="page">
...
</fo:block>
For more information see

http://xml.apache.org/fop/compliance.ht ... eepsbreaks
http://www.w3.org/TR/xsl/slice7.html#break-before

Regards,
Sorin
fabiofop
Posts: 3
Joined: Thu Feb 17, 2005 2:41 pm

Post by fabiofop »

Thanks.
fabio
Post Reply