[reportlab-users] hard splitting a paragraph

Dick Kniep dick at kniep.nl
Thu Apr 6 11:18:33 EDT 2006


Hi list,

We have developed a system that generates reports from Python lists. This 
works nicely, however, sometimes a field is longer than the designated room 
in a column, and spills over to the next column. This only happens if there 
is no white space between words and the word itself is too big. If there is 
white space, the line is split correctly, and a new line is printed.

In fact I want a flowable that splits the lines according to the normal rules 
of the paragraph, but if there is too little room, splits it on a certain 
point no matter what.

Anyone any idea how to do this?

Thanks in advance.

Cheers,
Dick Kniep


More information about the reportlab-users mailing list