[reportlab-users] Page 1 of 3
Juha Tuomala
Juha.Tuomala at iki.fi
Mon Jan 29 06:08:33 EST 2007
On Friday 26 January 2007 19:55, Robin Becker wrote:
> The onPageEnd stuff allows you to use canvas level primitives to decorate the
> page. Assume you have a form called pageTotal then your page decorator does
> something like
>
> canvas.doForm('pageTotal')
>
> at the appropriate place on the page. Note that the form need not be defined
> when you reference it.
>
> At the end of the document build you need to set up the form using more canvas
> level operations.
>
> canvas.beginForm('pageTotal')
> canvas.saveState()
>
> ......
> canvas.drawString(x,y,str(nPages))
> canvas.restoreState()
> canvas.endForm()
I've not been playing with forms yet, so is this
also possible with platypus+flowables?
I've laid out my pages with build parameters onFirstPage
and onLaterPages.
Tuju
--
Ajatteleva ihminen tarvitsee unta.
More information about the reportlab-users
mailing list