That's difficult if I don't know what your document looks like or is
supposed to look like.
If your have something like:
<fo:block keep-together.withing-column="always">
<fo:block>
<fo:block>first part</fo:block>
</fo:block>
<fo:block>
<fo:block>second part</fo:block>
<fo:block>blah blah/fo:block>
</fo:block>
</fo:block>
..you can instead do something like:
<fo:block>
<fo:block keep-together.withing-column="always">
<fo:block>first part</fo:block>
</fo:block>
<fo:block keep-together.withing-column="always">
<fo:block>second part</fo:block>
<fo:block>blah blah/fo:block>
</fo:block>
</fo:block>
Obviously, that's not the same semantically. If you can't find
work-arounds like that, you either have to live with unwanted breaks or
with overflows. More fine-grained control over keeps is not possible
with 0.95.
On 18.12.2008 14:17:15 Rania Saghira wrote:
> Well can you give me an example for another way to accomplish this.
> Problem is that for now we cannot migrate to the FOP Trunk, so we need to
> find a solution in FOP 0.95.
>
> Any help is really appreciated.
> Regards,
> Rania
>
>
> -----Original Message-----
> From: Jeremias Maerki [mailto:[email protected]]
> Sent: Thursday, December 18, 2008 3:31 AM
> To: [email protected]
> Subject: Re: Keep-together.within-page in FOP 0.95
>
> You can fix this by not using a keep or by a more fine-grained use of keeps.
> Furthermore, I've implemented partial support for integer values on keeps in
> FOP Trunk. The strengths are not yet respected but contrary to "always", an
> integer value allows FOP to break a section if it would result in an overflow
> otherwise. HTH
>
> On 17.12.2008 22:16:41 Rania Saghira wrote:
> > Hello,
> >
> > I am using FOP 0.95 to convert my XML documents to PDF format. With
> > previous versions of FOP i was able to use the keep-together="always"
> > to have my table content start on the next page if this does not fit
> > in the current page. I read that the
> > keep-together.within-page="always" should be equivalent to the
> > keep-together="always" in FOP 0.25. This works in some cases, however
> > if the row is larger than the page the content is overwriting the footer.
> > How can i fix this?
> > Any help is really appreciated.
> >
> > Best Regards,
> > Rania
>
>
>
>
> Jeremias Maerki
>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]