[reportlab-users] Splitting paragraph in table cell on '-' as well as white space

Ian J Cottee ian at cottee.org
Wed Dec 22 02:16:00 EST 2010


Dear all

I'm producing some tables that contain complicated chemical names and in
order to make them fit within table cells need to be able to split the words
within a Paragraph over more than just whitespace. Specifically hyphens but
possibly other characters.

What's the simplest way of approaching this? I've been looking through the
source code (get's a bit hairy in there!) and googling but have found
nothing specific to my requirement.

Many thanks in advance.

Ian Cottee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20101222/2759fa39/attachment.html>


More information about the reportlab-users mailing list