[reportlab-users] Table and document widths

Will Newton reportlab-users@reportlab.com
Wed, 7 Jan 2004 08:59:34 +0000


On Tue, Jan 06, 2004 at 05:32:14PM +0000, Robin Becker wrote:

> well you can assume that the doc width is 12 points too large if you
> want to do percentages. Unfortunately we don't yet allow setting the
> widths as percentages so you'd have to do this yourself.

Is there any way to get the current frame so I can do frame.width
instead? It would seem less fragile. You say SimpleDocTemplate doesn't
create the frames until build time, but I'm not sure how to get the
current frame (or PageTemplate) with
BaseDocTemplate either.