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 Ti...@materna.de on 2004/11/19 12:39:13 UTC

intelligent page breaks with fop

hi everybody, 
 

i am generating pdf using fop, the problem now is, that if e.g. the content
of a table cell is longer than a page fop doesnt manage to split this up in
an intelligent way, so it just extends the table cell on the next page,
which looks really bad.
in other words, i want to tell fop: 
if the content of the table cell goes beyond the extent of the page, close
the table cell at the end of the page and continue printing the content on
the next page in a new tablecell.
i have searched for this in some tutorials, but found nothing, is there a
way i can solve the problem?
 
thanks in advance
 
timo 

Re: intelligent page breaks with fop

Posted by Chris Bowditch <bo...@hotmail.com>.
Timo.Roessner@materna.de wrote:

> hi everybody,
>  
> 
> i am generating pdf using fop, the problem now is, that if e.g. the 
> content of a table cell is longer than a page fop doesnt manage to split 
> this up in an intelligent way, so it just extends the table cell on the 
> next page, which looks really bad.
> in other words, i want to tell fop:
> if the content of the table cell goes beyond the extent of the page, 
> close the table cell at the end of the page and continue printing the 
> content on the next page in a new tablecell.
> i have searched for this in some tutorials, but found nothing, is there 
> a way i can solve the problem?

It is not clear exactly what you mean. At a guess, I would say you are 
referring to borders on a table cell not being closed at the bottom of the 
first page and then redrawn at the top of the second. In XSL-FO, the property 
to control this behaviour is border.conditionality="retain" The default is 
dicard, which means dont draw at start/end of a reference area. However, I 
dont believe FOP implements conditionality on either borders or spacing, so 
you are out of luck.

Chris


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