Re: [xsl] how to make data fit in a table cell in xsl-fo?

Subject: Re: [xsl] how to make data fit in a table cell in xsl-fo?
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Wed, 16 Jan 2002 12:43:03 +0100
yan bai <bytj@xxxxxxxxx> wrote:
> I am using FOP to convert some data into a PDF table.
> However, since it is unpredicatetable how long the
> data for a <fo:table-cell>, the data in one cell may
> expand int the next cell.  How can I make the data fit
> in the pdf table?

Can you explain what you want to achieve in more detail?
If you want to have long words which overflow to be clipped,
this isn't currently fully implemented in FOP. You may want
to try hyphenation instead.
Otherwise, the standard word wrapping should be sufficient
unless you have disabled it or cells become so large that
they don't fit on a page, which occasionally sends FOP into
nonterminating loops. This can be fixed but the fix usually
depends on your problem.

HTH
J.Pietschmann

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread