Hello.
I've posted this question in the W3Schools XSL FO Forum and have only had people read but not respond to it. I thought I would pose my question in this forum - hoping somebody here has the answer.
I'm about to embark on changing 30 fo files to allow for text wrapping in a particular column. I was hoping to just add "wrap-option='wrap'" (which I believe is the default anyway) to the fo:block instead of increasing the column size.
I have the following code.
Code:
<fo:table-cell text-align="center">
<fo:block wrap-option="wrap" >
<xsl:value-of select="MODIFIERS/MOD1"/>
<fo:inline font-size="4pt"> </fo:inline>
<xsl:value-of select="MODIFIERS/MOD2"/>
<fo:inline font-size="4pt"> </fo:inline>
<xsl:value-of select="MODIFIERS/MOD3"/>
<fo:inline font-size="4pt"> </fo:inline>
<xsl:value-of select="MODIFIERS/MOD4"/>
</fo:block>
</fo:table-cell>
The MOD4 is being cut off as it doesn't fit within the column.
I don't want to make the column wider.
I read somewhere not to have "keep-together='always'" on the table-row line and I do not have that property there.
What do I need to do to get this column to wrap?
Any help with this will be much appreciated!
Thanks,
Rita