[reportlab-users] Word wrapping within table cells

Greg Rogers grogers at storediq.com
Wed Mar 14 12:07:10 EDT 2007


I need word wrapping within table cells. Putting the text within a
Paragraph with a ParagraphStyle with wordWrap='CJK' works, but is a bit
coarse.

Has anyone worked on extending the wrapping to look for puntuation marks
near the right edge?

E.g. "some.long-text,with/various\\punctuation at characters" could split
at the period, dash, comma, slash, backslash and at sign. unless If any
individual word was too long to fit on a line by itself, it would fall
back to the CJK splitting style.



Thanks
Greg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20070314/b6c6697d/attachment.html>


More information about the reportlab-users mailing list