[reportlab-users] Cansplit attribute for tables which go over the length of a page?

Robin Becker robin at reportlab.com
Thu Oct 13 19:05:26 EDT 2005


Sam Hunter wrote:
....
> In the Userguide, it mentions that tables "can split across multiple 
> pages if needed (see the canSplit attribute)."  But I can't find any 
> other references to canSplit in the user guide.  I searched the 

I think this is bad documentation. Tables currently split row wise by 
default. There is a problem if a single cell is too high to fit into a 
framne though.


> tables.py file, but can't find any occurrences of canSplit there 
> either.  Am I missing something here?  Or doing this totally wrong?  I 
> see that in the ch6_tables.py, a table is split, but I don't see how the 
> code works.
....

Take a look at the test_platypus_tables.py script for some examples of 
tables that split.
-- 
Robin Becker



More information about the reportlab-users mailing list