Subject:XLS:FO line break problem Author:Paul McCormick Date:10 Sep 2007 11:31 PM
I have some text like that includes product identifiers. The product identifiers contain a white space. I want the text to wrap automatically but I don't want a line break to occur between a product identifier. I've tried using the keep-together and wrap options properties.
Here is an extract of the xls:fo that I does not work correctly.
<fo:table-cell>
<fo:block>Here are some product identifiers:
<fo:inline keep-together="always" wrap="no-wrap">
M 20/23
</fo:inline>
<fo:inline keep-together="always" wrap="no-wrap">
M 45/16
</fo:inline>
<fo:inline keep-together="always" wrap="no-wrap">
M 74/1611
</fo:inline> </fo:block> </fo:table-cell>
Subject:XLS:FO line break problem Author:Paul McCormick Date:12 Sep 2007 07:38 AM
Thanks for the information. Do you know a java FO render that supports the keep-together attribute that you would recommend. It doesn't have to be open source.
Subject:XLS:FO line break problem Author:Paul McCormick Date:13 Sep 2007 04:39 AM
I've over came the problem by replacing the spaces with  
I then used the disable-output-escaping property on the fo:block.
e.g
<fo:table-cell>
<fo:block disable-output-escaping="yes"/>
M 20/23 M 45/16 M 74/1611
</fo:block>
</fo:table-cell>