[reportlab-users] Problem splitting a table if one column spans all rows

Stevens, Ian IStevens at globeandmail.com
Wed Jan 16 13:40:02 EST 2008


I have a 2-column table where the second column spans the entire table:

('SPAN', (1,0), (1,-1))

There may be as many as 3 rows in the first column. If there isn't room
for the last row, the table is split but the entire first column is
brought with it, regardless of whether there is enough room for its
contents before the split. Is there any way to force the contents of
the second column to remain in place if they will fit?

I tried spanning the first row after the split across the table, but
_calcSpanRanges() crapped out as it was attempting to concat str and
int:

('SPAN', (0, 'splitfirst'), (1, -1))

Any ideas?

thanks,
Ian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080116/81fe3450/attachment.htm>


More information about the reportlab-users mailing list