[reportlab-users] Table Issue -- Split by Page Break
Schollnick, Benjamin
reportlab-users@reportlab.com
Fri, 27 Feb 2004 09:30:40 -0500
> ..... If you know how big your table is you can add a CondPageBreak to
> your story.
>
> Actually it's really a conditional frame break.
>
> eg storey.append(CondPageBreak(4.5*72+.1)) for a 4.5 inch table.
The sad bit is the tables are dynamically created, so I do not have any idea
how large the result will be..
For the time being, I have solved the problem, by doing the following:
SimpleTemplate = SimpleDocTemplate (filename,
pagesize = orientation ( papersize
),
allowSplitting=0)
Adding the allowsplitting variable set to no..... But, while that works, I
am not sure if that is the best manner to do this...
- Benjamin