XSL FO: Force wrapping on tables

Here should go questions about transforming XML with XSLT and FOP.
AlexVV
Posts: 5
Joined: Wed Oct 06, 2010 10:41 pm

XSL FO: Force wrapping on tables

Post by AlexVV »

I'm having an issue where when I publish my modspecs to pdf (XSL-FO), I'm getting problems where a word in a column entry would overrun it's cell. The problem lies in the fact that the 'word' itself is wider than the width of the table column. This is because the modspec uses xrefs (e.g. [TableName].[TableColumn]). So my question: Is there away to force a wrap on the text (and break the word to 2 ore more lines) if the word exceeds the column width?

<row>
<entry>Code</entry>
<entry>Textbox</entry>
<entry><xref linkend="EMPLOYEES_STATUS"/>.CODE</entry>
<entry>True</entry>
</row>

(The 3rd entry goes beyond table column width)
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: XSL FO: Force wrapping on tables

Post by george »

Hi,

I am not sure if this is possible.
Please try also the xsl list (http://www.mulberrytech.com/xsl/xsl-list/), there are there a lot of XSL-FO experts that surely can provide a definitive answer on this.

Best Regards,
George
George Cristian Bina
Post Reply