IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

wrapping text for PDF Options · View
Jerry J
Posted: Monday, January 10, 2011 7:03:47 PM
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).


vlad
Posted: Monday, January 10, 2011 10:57:18 PM
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))
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.