[reportlab-users] How to mix static positioning and flowables

Andy Robinson andy at reportlab.com
Wed Aug 7 12:54:32 EDT 2013


Does the static content
(a) only need to appear on Page 1?
(b) need to appear identically on every page?
(c) need to vary by page?

All of these are possible but would use different approaches..

- Andy

On 7 August 2013 16:20, Mike Driscoll <mike at pythonlibrary.org> wrote:

> Hi,

>

> I have a project where I'm basically creating a document where the top half

> has to be positioned exactly and the second half is a table that can run

> multiple pages. I was doing the static part using Reportlab's canvas object,

> but I can't figure out how to make the table split across multiple pages if

> it gets too long.

>

> All the resources I've found so far recommend using a Template like

> BaseDocTemplate, but I don't see any way to use that to mix the static

> content and the dynamic content on one page.

>

> I have attached what I've come up with so far, but the table obviously

> doesn't split. Any help would be appreciated. Thanks!

>

> -------------------

> Mike Driscoll

>

> Blog: http://blog.pythonlibrary.org

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>




--
Andy Robinson
Managing Director
ReportLab Europe Ltd.
Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
Tel +44-20-8405-6420


More information about the reportlab-users mailing list