[reportlab-users] KeepTogether platypus Table

dmiller dmiller at tcwcomputers.com
Tue Nov 28 10:14:11 EST 2006


I've implemented a simple extension to reportlab.platypus.Table
(ReportLab 2.0) that supports a KEEPTOGETHER command. The command
prevents page breaks within a given group of rows. It would be great
if this could be merged into the main platypus distribution (I'd be
willing to write a patch if there's interest). Note that this
extension has not been tested very thoroughly (e.g. negative table
indices have not been tested), so use at your own risk.

The code is attached.

~ Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: grouptable.py
Type: text/x-python-script
Size: 2549 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20061128/b614f371/attachment.bin


More information about the reportlab-users mailing list