[reportlab-users] Very very long document

Marco Bizzarri m.bizzarri at icube.it
Mon Mar 14 05:52:42 EST 2005

andy at reportlab.com wrote:
>> thanks for your fast answer. Actually, I'm using one BIG table
>> which contains all the rows.
>> How could I optimize the rendering?
> Quick way: in reportlab/rl_config.py set
>   longTableOptimize =         1
> There will be some cases where it can no longer work out
> the optimal width for all columns - it will only take account
> of a few rows when doing column sizes.  And if you specify
> the colWidths then you should definitely do this.
> The other trick is to break apart tables into one
> table-let for each row or small group of rows.  People
> often go this way when they need group headers
> and footers.  But if the first one works, stick with
> it.
> - Andy

I tried this, but it did not make any difference.

I tried also LongTable instead of Table, and this was useful (we were 
able to generate the report in 15 minutes).


More information about the reportlab-users mailing list