[reportlab-users] Line splitting for long tables

Roberto Alsina ralsina at netmanagers.com.ar
Wed Oct 21 13:45:42 EDT 2009


On Wednesday 21 October 2009 16:31:43 Benjamin Higgins wrote:

> We've been using ReportLab with great results except for one hang-up -- we

> have some tables that are too wide for the page sometimes. It's caused

> by long text in one of the cells. We need a solution for splitting text

> to multiple lines so that the table will fit on the page. Any suggestions

> on how to do this, even a rudimentary solution? I'm thinking of writing

> an algorithm myself to split long text to multiple lines but I'm sure it's

> not going to be very good.


Why not use a Paragraph inside that cell?

--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)


More information about the reportlab-users mailing list