[reportlab-users] Allow Blank Cell in Platypus Table plus None Comparison Check

Benn rl at magitech.org
Thu May 4 12:27:17 EDT 2006


Hey All,

I'd like to suggest a small change to allow for empty cells in the data array
for the Table class in Platypus.  I've attached the relevant patch.

I've also attached a patch for the tables.py to allow for the user to pass
None in as the value for a cell, and have it be rendered as '' (the existing
comparisons didn't seem to work).

My environment is reportlabs 1.20 with Python 2.4.3.

Cheers,
-G
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_blank.patch
Type: application/octet-stream
Size: 718 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20060504/bee16a16/allow_blank-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct_str_none.patch
Type: application/octet-stream
Size: 2206 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20060504/bee16a16/correct_str_none-0002.obj


More information about the reportlab-users mailing list