[reportlab-users] Space remaining on a page

Pete Morgan AC001 at daffodil.uk.com
Mon Dec 21 06:51:32 EST 2009


I've for a PageTemplate, with a table of data, which can vary between
approx 20% to 60% of the height.

At the end I need to include another two tables for notes/remarks with
lines.

I can't figure out how to first populate the page with the first table,
then calculate and make the remaining tables..

What I want to do is
* flow first table
* find remaining_height
* create two tables of remaining_height / 2


eg

|------------------------------------------|

| |

| Data Table of x height |

| |

|------------------------------------------|

| Table with 50% of remaining |

|------------------------------------------|

| Table with 50% of remaining |

|------------------------------------------|


Hope it makes sense.

Pete


More information about the reportlab-users mailing list