Rank: Member
Joined: 9/29/2010 Posts: 17
|
I am using StyleVision to generate XSL-FO templates for PDF output.
If I have a word in a table that is too wide for the set column width the text runs into the next column. I need to get the text to wrap. Is there a way to do this?
I have attached an example sps. When executed you can see that "McCartney" overruns into the first name column.File Attachment(s): Beatles.zip (14kb) downloaded 399 time(s).
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
There is a workaround. Replace (content) with the following auto-calc (requires XSLT2):
string-join(for $i in 1 to string-length(.) return substring(.,$i,1),codepoints-to-string(8203))
|