How to wrap text in fo:table-cell

2008-07-10 Thread SanjeevGour
Hello, I am generating a PDF using FOP. I have table which contains large text in cells. This text goes into the next column messing up the data. Following is my xsl - fo:table-cell padding=2pt border=0.2pt solid black width=auto fo:block-container width=60px height=10px

Re: How to wrap text in fo:table-cell

2008-07-10 Thread Vincent Hennebert
Hi, SanjeevGour wrote: Hello, I am generating a PDF using FOP. I have table which contains large text in cells. This text goes into the next column messing up the data. Following is my xsl - fo:table-cell padding=2pt border=0.2pt solid black width=auto fo:block-container

Re: How to wrap text in fo:table-cell

2008-07-10 Thread Jeremias Maerki
This is an FAQ. Please see: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow There are a number of posts about this on the mailing list archives, too. Good luck! BTW, overflow=scroll doesn't have an effect in FOP! On 10.07.2008 08:29:15 SanjeevGour wrote: Hello, I am generating a

Re: How to wrap text in fo:table-cell

2008-07-10 Thread SanjeevGour
Thanks for your response. I thought there might be some value for overflow attribute which can handle this. Can you give me some idea about how to insert zero width spaces using a xsl function? Thanx. Sanjeev. Vincent Hennebert-3 wrote: Hi, SanjeevGour wrote: Hello, I am generating a

Re: How to wrap text in fo:table-cell

2008-07-10 Thread SanjeevGour
Just to add a note that I could resolve this problem using zero width spaces- I used the following xsl to add zero width space after each character- xsl:template name=zero_width_space_1 xsl:param name=data/ xsl:param name=counter select=0/ xsl:choose xsl:when test=$counter lt;