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 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" >> overflow="scroll"> >> <fo:block> >> >> tttttttttttttttttttttttttttttttttnnntttnttttttttttttttttt >> </fo:block> >> </fo:block-container> >> </fo:table-cell> >> >> This text wrap correctly when it has spaces in between. That to happens >> without using fo:block-container. I want when the text is large, it >> should >> continue with the next line. I don't know what value to specify and which >> attributes need to be set for fo:block-container in order to do this. > > I don’t think there is any FO property to do that. You will have to > insert zero width spaces (U+200B) between each letter of your long word. > That will give FOP opportunities to break if the text doesn’t fit on > a single line. > > HTH, > Vincent > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-wrap-text-in-fo%3Atable-cell-tp18376733p18379768.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
