[reportlab-users] Large table with totals in page footer

Tony Middleton tony at echtrees.org.uk
Sun Apr 2 08:39:08 EDT 2017


I've now got a solution to this - example attached.  Thank you to Robin
Becker for his help.

To recap, I need to create a document which is one big table
approximately 600 pages long.  On the footer of each page I need to
include something derived from the rows printed on that page.  I need to
include page breaks at certain points;  there doesn't seem to be a way
of doing this within a table so my document is a sequence of separate
tables which has made the solution more complicated.

The solution isn't terribly elegant but it seems to work.

Regards

Tony Middleton

On 29/03/17 14:41, Tony Middleton via reportlab-users wrote:
>
> I am trying to create a document with a multipage table.  At the
> bottom of each page I need a footer which includes some information
> derived from rows printed on that page.  I am using the Table() class
> and rows are variable height so I don't know which rows will print on
> a page.
>
> I've looked around and can't find any way to do this.  Any pointers
> would be greatly appreciated.
>
> Regards
>
> Tony Middleton
>
>
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20170402/6fc9f3cd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.py
Type: text/x-python
Size: 4596 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20170402/6fc9f3cd/attachment.py>


More information about the reportlab-users mailing list