[reportlab-users] Embedding Platypus Story in Canvas

Tim Roberts timr at probo.com
Mon Nov 5 21:23:30 EST 2007


Rich Shepard wrote:

> On Mon, 5 Nov 2007, Tim Roberts wrote:

>

>> By default, the "build" method calls Canvas.save() to generate the PDF,

>> but you can override that by setting doc._doSave = 0. Then you can do

>> doc.canv.showPage() and start drawing more stuff.

>

> This is interesting, Tim. At the end of the first page I have:

>

> doc.build(story)

> doc._doSave = 0

> pg.showPage()


Wrong order. It's at the end of "build" that _doSave is checked.

You know, you have the full source code on your computer...

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list