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 To...@TIMETOACT.DE on 2006/12/14 12:22:27 UTC

How to avoid pagebreak in fo:block or fo:table-rows?

Hello,

is there any solution for avoiding pagebreaks in a fo:block or a 
fo:table-row ? 

page-break-inside="avoid" isn't implementent in fop 0.20.5. 

I have to use that version, so is there any other way to avoid a pagebreak 
?


Thanks 

Tobias

Re: How to avoid pagebreak in fo:block or fo:table-rows?

Posted by Chris Bowditch <bo...@hotmail.com>.
Louis.Masters@log-net.com wrote:
> Did you try to use keeps (keep-with-previous, keep-with-next) on the row? 
> This will keep your row data together.

keep-with-next and keep-with-previous does not prevent a break mid row. 
For that you need keep-together="always" on the table-row.

Unfortunately 0.20.5 doesn't support keep-* properties on fo:block. The 
only workaround is to put the block inside a table and use keep-* 
properties on table-rows.

Chris

<snip/>




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


Re: How to avoid pagebreak in fo:block or fo:table-rows?

Posted by To...@TIMETOACT.DE.
Hello,

yes that was the solution to my problem, I added a table around the block 
and put in the table-row a keep-together="always"

Thanks a lot!

Louis.Masters@log-net.com wrote on 14.12.2006 13:37:21:

> Did you try to use keeps (keep-with-previous, keep-with-next) on the 
row? 
> This will keep your row data together.
> -Lou
> 
> 
> 
> 
> Tobias.Soloschenko@TIMETOACT.DE 
> 12/14/2006 06:22 AM
> Please respond to
> fop-users@xmlgraphics.apache.org
> 
> 
> To
> fop-users@xmlgraphics.apache.org
> cc
> 
> Subject
> How to avoid pagebreak in fo:block or fo:table-rows?
> 
> 
> 
> 
> 
> 
> 
> Hello, 
> 
> is there any solution for avoiding pagebreaks in a fo:block or a 
> fo:table-row ? 
> 
> page-break-inside="avoid" isn't implementent in fop 0.20.5. 
> 
> I have to use that version, so is there any other way to avoid a 
pagebreak 
> ? 
> 
> 
> Thanks 
> 
> Tobias
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 

Re: How to avoid pagebreak in fo:block or fo:table-rows?

Posted by Lo...@log-net.com.
Did you try to use keeps (keep-with-previous, keep-with-next) on the row? 
This will keep your row data together.
-Lou




Tobias.Soloschenko@TIMETOACT.DE 
12/14/2006 06:22 AM
Please respond to
fop-users@xmlgraphics.apache.org


To
fop-users@xmlgraphics.apache.org
cc

Subject
How to avoid pagebreak in fo:block or fo:table-rows?







Hello, 

is there any solution for avoiding pagebreaks in a fo:block or a 
fo:table-row ? 

page-break-inside="avoid" isn't implementent in fop 0.20.5. 

I have to use that version, so is there any other way to avoid a pagebreak 
? 


Thanks 

Tobias


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