I am trying to use this to handle my table cell text overflows, but it does not seem to work in my implementation. I am using fop 0.91 (not trunk) and I get many warnings of the following type:
12:36:09,657 WARN [BreakingAlgorithm] Line 1 of a paragraph overflows the available area. (fo:block, "Very Long Text Here")
My code basically looks like:
<fo:table-cell>
<fo:block overflow="hidden" wrap-option="no-wrap">
<xsl:apply-templates select="."/>
</fo:block>
</fo:table-cell>
Tell me I am doing something wrong.
Thanks,
Lou
Andreas L Delmelle <[EMAIL PROTECTED]> wrote on 02/28/2006 12:24:33:
> On Feb 28, 2006, at 15:51, Jimmy Dixon wrote:
>
> > Hi fellow fopsters
> >
> > Im using fop to create a table in a pdf report on the fly. Space is
> > at a premium and one of the values, an id, is of variable length.
> > Other than using some nasty XSLT string functions to insert spaces
> > into the id string when it is too long for the table cell is there
> > a way to prevent it from overlapping the other table cells with
> > XSL:FO and FOP? I fear not but if anyone has any cool ideas about
> > how to approach this problem Id love to hear them.
>
> OK, I'm not sure if this'll work (= untested), but try anyway:
>
> <fo:table-cell>
> <fo:block wrap-option="no-wrap" overflow="hidden">
> your_extremely_long_identifier_here_...
> </fo:block>
> </fo:table-cell>
>
> Both those properties are marked as 'implemented' on our compliance
> page. If that page doesn't lie, then the above should do the trick, I
> guess...
>
> HTH!
>
> Cheers,
>
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
- Re: word wrapping Louis . Masters
- Re: word wrapping Andreas L Delmelle
- Re: word wrapping J.Pietschmann
- Re: word wrapping Daniel Appelt
- Re: word wrapping Jeremias Maerki
