[reportlab-users] Tabular presentation of data needs line wrapping

Federico Fanton federico at panizzolo.it
Mon Nov 23 03:31:55 EST 2009

Michael Rowan wrote:

> Hi

> Working with Django and ReportLab I need to produce .pdfs that display

> data in tabular form. In some columns there will be text that will need

> to to wrap the variable length text in order to fit in the column.


> I am using the SimpleDocTemplate, and have got the hang of everything

> else that I need, but cannot find how to wrap the text when necessary.


> Any advice would be appreciated. Thanks

Try wrapping the text inside a reportlab.platypus.Paragraph

HTH, bye!

More information about the reportlab-users mailing list