[reportlab-users] [BUG] Table cell too big

Dirk Holtwick dirk.holtwick at gmail.com
Thu Oct 30 04:24:03 EDT 2008

Henning von Bargen schrieb:

>> From: Dirk Holtwick <dirk.holtwick at gmail.com>

>> Subject: Re: [reportlab-users] [BUG] Table cell too big


>> Any new informations on this?

>> Is there another way to avoid errors with too large table cells?


> I don't think so. You'd have to extend the Table class.

Thanks Henning. I have spend some time on this issue and finally I did a
dirty hack to give the "KeepInFrame" elements automatically the maximum
sizes available. Anyone interested can have a look at the the results
in my XHTML2PDF code in SVN: <http://www.xhtml2pdf.com>

I think the whole table implementation could gain from a redesign and
rewrite. After having a closer look at the guts of Reportlab I am
missing well documented code and self speaking variable names. I can
therefore imagine that it is difficult to maintain this code. But this
is normal for a "grown" project but maybe at some point comes the time
to do a rewrite to get efficiency back in the development.

But anyways, for me it works now and that's all I need for the moment.

BTW: I also did some changes to the paragraph implementation because
underlinings and strikes where not very aware of the current font sizes
used. Hope we get three get in the new paragraph implementation soon
once the SVN of Reportlab is open for us.


More information about the reportlab-users mailing list