[reportlab-users] How to mix static positioning and flowables
Mike Driscoll
mike at pythonlibrary.org
Wed Aug 7 13:27:56 EDT 2013
Hi Andy,
In this case, the static content only appears on the first page. The table
can then continue for however many pages after that as needed. I do have an
older project where I did have the same static stuff on each page with a
flowing table across pages and sub-totals per page that I ended up writing
a hack for. I'm trying not to do that for this one.
- Mike
On Wed, Aug 7, 2013 at 11:54 AM, Andy Robinson <andy at reportlab.com> wrote:
> 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
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>
--
-----------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20130807/535263d9/attachment.htm>
More information about the reportlab-users
mailing list