Thank you for your solution, it works great and does exactly want I need
with FOP 0.20.5,
but it doesn't work with FOP 0.93 :-(
 
this is what my xsl sheet looks like:
<fo:table-body>

<fo:table-row background-color="white">

<fo:table-cell border-width="0px" padding-left="1px">

<fo:block hyphenate="true" font-size="16pt">

<xsl:value-of select="/report/header/site-properties/@name"/>

</fo:block>

</fo:table-cell>


________________________________

From: mahmoudi ould abdel vetah [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 23, 2007 10:34 AM
To: [email protected]
Subject: Re: wrap text in table-cell question


hi,
 
in your cell, you can make:
 
<fo:table-cell>
  <fo:block hyphenate="true"
language="en">AAAAAAAAAAAAAAAAAAAAB</fo:block>
</fo:table-cell>
 
i hope this help you.
 


 
2007/1/22, J.Pietschmann <[EMAIL PROTECTED]>: 

        Gregan, Miroslav wrote:
        > When I write text in table-cells, it may happen that the text
is longer
        > than the cell (ex. hyperlinks)
        > Is there a way to have the text break on the next line if too
long or
        > the end cut so that the text isn't written on the next cell?
        
        This is a FAQ:
        http://xmlgraphics.apache.org/fop/faq.html#cells-overflow
        
        A more high tech approach is to use a customized hyphenation
        pattern file.
        
        J.Pietschmann
        
        
--------------------------------------------------------------------- 
        To unsubscribe, e-mail:
[EMAIL PROTECTED]
        For additional commands, e-mail:
[EMAIL PROTECTED]
        
        


Reply via email to