xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hennebert <vincent.henneb...@anyware-tech.com>
Subject Re: Nested, multi-page tables and keep-with-previous
Date Fri, 02 May 2008 09:30:45 GMT
Hi Torsten,

Torsten Blix wrote:
> Hi,
> I have a problem with the XSL-FO listed below - sorry for the lengthy example,
> I tried to cut it down as much as possible (and hope that Outlook doesn't make
>  too much of a mess of it).

FYI you can provide the FO file as an attachment. Actually this is the
recommended way because then you are sure your mail client won’t alter
it. Although in the present case it did well.

> Running FOP 0.95beta from the command line and producing a PDF output, I get no
> warnings/errors and the expected text on the first page up until "LOOK HERE".
> Then follows an empty second page and the end of the document, even though
> there is some text left in the XSL-FO. I expected the text to be printed on the
> 2nd page.

This is bug #44621 [1] (more precisely, comment #2). Assertions aren’t
enabled by default, otherwise you would have had an AssertionError. It
appears that FOP terminates normally but the generated PDF is obviously

It is fixed in the head of the 0.95 branch, so your file should be
rendered fine with the final 0.95 version.

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=44621

> Removing the attribute keep-with-previous.within-column='always' from the table
> row below "LOOK HERE" makes the text on the 2nd page appear again.
> FOP 0.94 behaves differently and does not hide any text, but breaks the table
> apart a bit early imho (there seems to be plenty of place left at the bottom of
> page 1).
> The support for keep-with-previous should be partial, as per the
> compliance
> page (http://xmlgraphics.apache.org/fop/compliance.html#fo-property-keep-with-previous).
> The comments there read:
>     * [0.20.5] works only in table rows
>     * [0.94] works on all implemented FOs, except list- and table-related and
>       inline-level FOs.
>     * [0.95] works on all implemented FOs, except list- and inline-level FOs.
>     * [0.94 and later] <integer> values are not supported.
> I would expect my document not to work in 0.94 but to work in 0.95, as the usage
> of keep-with-previous is table-related. Nevertheless, not showing parts of the
> table is a bit unexpected.  Just ignoring the keep-with-previous attribute
> would have been fine. :)
> I would be happy for any pointers!
> Cheers,
> Torsten
> PS. Any current estimates when 0.95 will be released?

It’s on its way. I’d say, probably within the next few weeks.



Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting

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

View raw message