[reportlab-users] Problem with row&column spanning code not calculating table heights
Andy Robinson
reportlab-users@reportlab.com
Wed, 15 Oct 2003 21:29:17 +0100
> I'm not sure if there's a simple general formulation that is easy to
> solve.
I am pretty sure there isn't :-) So far we have been adding in
"common cases" as they occur, and problems are pretty
rare. I am hoping that after one or two more case-by-case
enhancements we will be down to a couple of bug/weirdness
reports per year. Obviously we are looking at this one.
There is a well defined HTML algorithm but it renders slowly.
Maybe one way to go is to have an 'algorithm' attribute
set to "reportlab-default" and let people write their
own in version 2 :-)
I will reiterate by the "real world" guidelines I always give
to make sure you get reasonable tables in the month
you need them.
(1) work out and explicitly specify your widths
(2) let it work out the heights, unless there is a good
reason why it can't; if it can't, then provide some
heights.
(3) if doing big data sets which will span several pages,
make lots of one-row or few-row tables and put them
after each other in the story. It's easier on your
brain.
Best Regards,
Andy