On Mar 28, 2007, at 20:09, wmurrill wrote:
Hi,
Hi, I'm trying to migrate from fop-0.20.3 to
fop-trunk. We use fop to produce a final report.
With fop-trunk and java 1.4 (also java 1.5), fop
splits tables across pages (as it should) but does
not draw the bottom border for the table on page 1
nor the top border for the table on page 2.
Indeed, that is the expected behaviour. FOP Trunk is much more
compliant to the XSL Recommendation in this respect.
In short, you need to drop the border-shorthand on the table, and
replace it with border-after/before/start/end. Most important are
border-before-width and border-after-width, that need to specified as:
border-*-width.length="0.5pt"
border-*-width.conditionality="retain"
If you specify them by means of the shorthands (border, border-
width...) or corresponding properties (border-top-width, border-
bottom-width...), then the .conditionality component defaults to
"discard" and cannot be overridden by using the extended, native XSL
properties.
A separate problem with the table borders is how they
seem to vary in width or boldness. The borders
applied are consistent ie border-style="solid"
border-width="0.5pt" border-color="red";
Hmm... that's very strange indeed. There's /something/ different
between the two borders you describe, but I only see it distinctly at
either very low or very high zoom. It seems like a difference of a
pixel or something. I'd have to take a real close look at this to say
what's going on. AFAICT, so this seems to be related to the border-
rendering.
Try applying what I mentioned above, and instead of specifying
borders only on the start- or end-edges, specify half the border on
both.
HTH!
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]