Text wrap in xsl:fo- table-cell
Posted: Thu Oct 25, 2007 3:12 pm
Hi,
I am creating a PDF using xsl-fo. Whenever my text is very large, it goes beyond the table cell in the column. I want that the text should be wrapped when it is large. Is there any option to do this???
My table cell is like the following-
Thanks.
sanjeev.
I am creating a PDF using xsl-fo. Whenever my text is very large, it goes beyond the table cell in the column. I want that the text should be wrapped when it is large. Is there any option to do this???
My table cell is like the following-
Code: Select all
<fo:table-cell padding="2pt" border="0.2pt solid black"
background-color="#f1e1c1" width="auto">
<fo:block>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:value-of select="div" />
</fo:block>
</fo:table-cell>
sanjeev.