[reportlab-users] Multi-page formatting in Platypus
andy at reportlab.com
Mon Oct 13 18:21:09 EDT 2008
2008/10/13 Peter Mattingly <pmattingly at mail.csuchico.edu>:
> So: How do I define my frames across all of my pages?
Headers like this don't go in frames. The frames are for the flowing content.
They must be defined either as callback functions passed to the
which decorate the new page when it starts; or as subclasses of
PageTemplate which do
the same. Providing a generic "graphics callback" is far more
flexible; it lets you do
page borders, not just filling a box at the top or bottom like most
Look at some of the tests in tests/test_platypus_*.py, or in
tools/docco/rltemplate.py which is the template used for the manual.
I admit the manual never explained this well; if someone can send in a
contrib for this for the Platypus chapter, we'd be really grateful.
More information about the reportlab-users