This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


yan bai <bytj@yahoo.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]