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]

Reply via email to