[reportlab-users] Inserting flowables in a footer
Robin Becker
robin at reportlab.com
Wed Sep 28 05:45:43 EDT 2005
Marco Bizzarri wrote:
> Hi all.
>
> I would like to create a frame to be used as the footer of a page. I
> understand I should create a new PageTemplate, with a new frame which should
> contain the footer.
>
> I would like to insert a table in the footer frame, but I don't figure
> exactly how this should be done. I mean I can see I should use the
> Frame.addFromList method, but when should I use it? I suppose inside some
> callback, but this is not clear at the moment.
>
> Can someone shed some light on this topic?
>
> Thanks in advance.
>
> Marco
>
.....
you need to switch to the footer frame do the flowable and then possibly switch
back to the original frame.
so in terms of the story you'll have something like this
.....,NextFrameFlowable('footer'),FrameBreak,MyTableInstance,
NextFrameFlowable('originalframe'),FrameBreak,.....
--
Robin Becker
More information about the reportlab-users
mailing list